Reference · Peg-solitaire element
TOBIISHI_EMBED_OPTION_KEYSconstant
The native mounted options, checked by the shared builder.
Import it
import { TOBIISHI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tobiishi/element";
Also exported from: @johnmorrisdotca/tobiishi/element/define
Definition
const TOBIISHI_EMBED_OPTION_KEYS: string[] = Object.keys({
game: true,
challenge: true,
shape: true,
seed: true,
challengeJumps: true,
language: true,
material: true,
theme: true,
justBoard: true,
settingsHost: true,
onChange: true,
} satisfies Record<keyof MountOptions, boolean>)
Examples
import { TOBIISHI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tobiishi/element";
console.log(TOBIISHI_EMBED_OPTION_KEYS.includes("onChange"));trueWhat it prints (run when this page was built)