KUMIMOJI_EMBED_OPTION_KEYSconstant
Native table options, checked alongside builder coverage.
Import it
import { KUMIMOJI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kumimoji/element";
Also exported from: @johnmorrisdotca/kumimoji/element/define
Definition
const KUMIMOJI_EMBED_OPTION_KEYS: string[] = Object.keys({
language: true,
hand: true,
level: true,
gameLength: true,
diagonals: true,
seed: true,
onFinish: true,
onChange: true,
locale: true,
strings: true,
theme: true,
cloth: true,
keep: true,
controls: true,
saved: true,
onError: true,
} satisfies Record<keyof KumimojiTableOptions, boolean>)
Examples
import { KUMIMOJI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kumimoji/element";
console.log(KUMIMOJI_EMBED_OPTION_KEYS.includes("saved"));trueWhat it prints (run when this page was built)