Reference · Board and position elements
SUGOROKU_EMBED_OPTION_KEYSconstant
The real mounted options, checked alongside builder coverage.
Import it
import { SUGOROKU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/sugoroku/element";
Also exported from: @johnmorrisdotca/sugoroku/element/define
Definition
const SUGOROKU_EMBED_OPTION_KEYS: string[] = Object.keys({
board: true,
checkers: true,
colours: true,
theme: true,
home: true,
view: true,
numbers: true,
orientation: true,
variant: true,
rules: true,
preset: true,
seed: true,
dice: true,
computer: true,
computerDelay: true,
controls: true,
drag: true,
autoEnd: true,
language: true,
names: true,
sound: true,
match: true,
onRoll: true,
onMove: true,
onTurn: true,
onCube: true,
onEnd: true,
} satisfies Record<keyof SugorokuMountOptions, boolean>)
Examples
import { SUGOROKU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/sugoroku/element";
console.log(typeof SUGOROKU_EMBED_OPTION_KEYS); // objectobjectWhat it prints (run when this page was built)