JIRAI_EMBED_OPTION_KEYS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The real mounted options, checked by TypeScript and the builder.
インポート
import { JIRAI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/jirai/element";
ほかのエクスポート元: @johnmorrisdotca/jirai/element/define
定義
const JIRAI_EMBED_OPTION_KEYS: string[] = Object.keys({ settings: true, progress: true, controls: true, material: true, pieces: true, language: true, hint: true, onChange: true, onFinish: true, onError: true } satisfies Record<keyof MountOptions, boolean>)
例
import { JIRAI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/jirai/element";
console.log(typeof JIRAI_EMBED_OPTION_KEYS); // objectobject出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。