KOTOBA_EMBED_OPTION_KEYS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Real mounted options, checked alongside builder coverage.
インポート
import { KOTOBA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kotoba/element";
ほかのエクスポート元: @johnmorrisdotca/kotoba/element/define
定義
const KOTOBA_EMBED_OPTION_KEYS: string[] = Object.keys({ words: true, size: true, easy: true, rows: true, seed: true, daily: true, hidden: true, locale: true, strings: true, theme: true, keyboard: true, keyboardTarget: true, onFinish: true, onChange: true, load: true, now: true } satisfies Record<keyof KotobaPlayOptions, boolean>)
例
import { KOTOBA_EMBED_OPTION_KEYS } from "@johnmorrisdotca/kotoba/element";
console.log(typeof KOTOBA_EMBED_OPTION_KEYS); // objectobject出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。