KOTOBA_EMBED_OPTION_KEYSconstant
Real mounted options, checked alongside builder coverage.
Import it
import { KOTOBA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kotoba/element";
Also exported from: @johnmorrisdotca/kotoba/element/define
Definition
const KOTOBA_EMBED_OPTION_KEYS: string[] = Object.keys({ words: true, size: true, easy: true, rows: true, seed: true, daily: true, hidden: true, locale: true, strings: true, theme: true, keyboard: true, keyboardTarget: true, onFinish: true, onChange: true, load: true, now: true } satisfies Record<keyof KotobaPlayOptions, boolean>)
Examples
import { KOTOBA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kotoba/element";
console.log(typeof KOTOBA_EMBED_OPTION_KEYS); // objectobjectWhat it prints (run when this page was built)