TANE_EMBED_OPTION_KEYS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Actual host option keys, checked by the builder.
インポート
import { TANE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tane/element";
ほかのエクスポート元: @johnmorrisdotca/tane/element/define
定義
const TANE_EMBED_OPTION_KEYS: string[] = Object.keys({ items: true, seed: true, random: true, weights: true, onPick: true } satisfies Record<keyof TanePickerOptions, boolean>)
例
import { TANE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tane/element";
console.log(TANE_EMBED_OPTION_KEYS);[ 'items', 'seed', 'random', 'weights', 'onPick' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。