Generate word and trigger custom report via widget JS API

Random word generator + WOVN widget API helper. IDs and click behavior are preserved.
WOVN loaded (async)

Generator

Output: #output

Ignored values section

Ignored value

Report manually using console: WOVN.io.translateTexts('en', 'ja', ["some text"]) WOVN.io.getTextTranslation("my text", 'ja')

I am ignored. Report me!

This is ignored text!

Extra reserved space

Info: layout

This panel is just for extra text you might want to add. Existing JS behavior is unchanged: it still binds to the first <button> and writes the chosen word into #output.

I JOKE YOU!

Tip: if you add any button before the generator button, your selector document.querySelector("button") will bind to that new button instead.