NARABE_DRAW_OPTION_KEYSconstant
Native drawing option keys, checked by the embed builder.
Import it
import { NARABE_DRAW_OPTION_KEYS } from "@johnmorrisdotca/narabe/element";
Also exported from: @johnmorrisdotca/narabe/element/define
Definition
const NARABE_DRAW_OPTION_KEYS: string[] = Object.keys({ width: true, title: true, lastMove: true, winningLine: true, forbidden: true, legal: true, selected: true } satisfies Record<keyof DrawBoardOptions, boolean>)
Examples
import { NARABE_DRAW_OPTION_KEYS } from "@johnmorrisdotca/narabe/element";
console.log(NARABE_DRAW_OPTION_KEYS);[
'width',
'title',
'lastMove',
'winningLine',
'forbidden',
'legal',
'selected'
]What it prints (run when this page was built)