TSUNAGI_EMBED_OPTION_KEYSconstant
Every mounted-board option, kept complete by TypeScript and checked by the builder.
Import it
import { TSUNAGI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tsunagi/element";
Also exported from: @johnmorrisdotca/tsunagi/element/define
Definition
const TSUNAGI_EMBED_OPTION_KEYS: string[] = Object.keys({ size: true, givens: true, answer: true, level: true, set: true, lines: true, explosions: true, cheats: true, controls: true, chips: true, zoom: true, language: true, marks: true, fill: true, colours: true, board: true, coordinates: true, onChange: true, onStroke: true, onExplosion: true, onSolve: true } satisfies Record<keyof TsunagiMountOptions, boolean>)
Examples
import { TSUNAGI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tsunagi/element";
console.log(typeof TSUNAGI_EMBED_OPTION_KEYS); // objectobjectWhat it prints (run when this page was built)