Reference · Board and position elements
SUGOROKU_DRAW_OPTION_KEYSconstant
Native draw keys, checked by the shared builder.
Import it
import { SUGOROKU_DRAW_OPTION_KEYS } from "@johnmorrisdotca/sugoroku/element";
Also exported from: @johnmorrisdotca/sugoroku/element/define
Definition
const SUGOROKU_DRAW_OPTION_KEYS: string[] = Object.keys({
variant: true,
view: true,
home: true,
orientation: true,
numbers: true,
board: true,
checkers: true,
colours: true,
theme: true,
dice: true,
cube: true,
highlight: true,
label: true,
style: true,
} satisfies Record<keyof SugorokuDrawOptions, boolean>)
Examples
import { SUGOROKU_DRAW_OPTION_KEYS } from "@johnmorrisdotca/sugoroku/element";
console.log(typeof SUGOROKU_DRAW_OPTION_KEYS); // objectobjectWhat it prints (run when this page was built)