TENKA_EMBED_OPTION_KEYS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Native options, checked by shared builder coverage.
インポート
import { TENKA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tenka/element";
ほかのエクスポート元: @johnmorrisdotca/tenka/element/define
定義
const TENKA_EMBED_OPTION_KEYS: string[] = Object.keys({ players: true, computers: true, rounds: true, seed: true, map: true, colours: true, computerDelayMs: true, onChange: true, locale: true, strings: true, theme: true, record: true, dressing: true } satisfies Record<keyof TenkaTableOptions, boolean>)
例
import { TENKA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tenka/element";
console.log(TENKA_EMBED_OPTION_KEYS.includes("dressing"));true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。