TANE_EMBED_OPTION_KEYSconstant
Actual host option keys, checked by the builder.
Import it
import { TANE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tane/element";
Also exported from: @johnmorrisdotca/tane/element/define
Definition
const TANE_EMBED_OPTION_KEYS: string[] = Object.keys({ items: true, seed: true, random: true, weights: true, onPick: true } satisfies Record<keyof TanePickerOptions, boolean>)
Examples
import { TANE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tane/element";
console.log(TANE_EMBED_OPTION_KEYS);[ 'items', 'seed', 'random', 'weights', 'onPick' ]What it prints (run when this page was built)