KAZU_EMBED_OPTION_KEYS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Every mounted-board option, kept complete by TypeScript and checked by the builder.
インポート
import { KAZU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kazu/element";
ほかのエクスポート元: @johnmorrisdotca/kazu/element/define
定義
const KAZU_EMBED_OPTION_KEYS: string[] = Object.keys({ kind: true, size: true, givens: true, solution: true, level: true, seed: true, run: true, notes: true, elapsed: true, clock: true, controls: true, hints: true, check: true, conflicts: true, peers: true, tidy: true, tapToStep: true, language: true, onChange: true, onHint: true, onCheck: true, onSolve: true } satisfies Record<keyof KazuMountOptions, boolean>)
例
import { KAZU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kazu/element";
console.log(typeof KAZU_EMBED_OPTION_KEYS); // objectobject出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。