SUIDO_EMBED_OPTION_KEYSconstant
The mounted-board options, checked for completeness by TypeScript and the builder.
Import it
import { SUIDO_EMBED_OPTION_KEYS } from "@johnmorrisdotca/suido/element";
Also exported from: @johnmorrisdotca/suido/element/define
Definition
const SUIDO_EMBED_OPTION_KEYS: string[] = Object.keys({
code: true,
answer: true,
progress: true,
shown: true,
turning: true,
hints: true,
controls: true,
chips: true,
zoom: true,
language: true,
onChange: true,
onTurn: true,
onHint: true,
onTurning: true,
onSolve: true,
} satisfies Record<keyof SuidoMountOptions, boolean>)
Examples
import { SUIDO_EMBED_OPTION_KEYS } from "@johnmorrisdotca/suido/element";
console.log(typeof SUIDO_EMBED_OPTION_KEYS); // objectobjectWhat it prints (run when this page was built)