CUBOID_ELEMENT_ATTRIBUTES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The attributes the element reads. Changing any draws the player afresh.
インポート
import { CUBOID_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/cuboid/element";
定義
const CUBOID_ELEMENT_ATTRIBUTES: readonly ["dims", "scramble", "moves", "time", "autoplay", "controls", "loop", "speed", "theme", "cloth", "lang", "readout", "movelist", "scrub"] = [
"dims",
"scramble",
"moves",
"time",
"autoplay",
"controls",
"loop",
"speed",
"theme",
"cloth",
"lang",
"readout",
"movelist",
"scrub",
] as const
例
import { CUBOID_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/cuboid/element";
console.log(CUBOID_ELEMENT_ATTRIBUTES);[
'dims', 'scramble',
'moves', 'time',
'autoplay', 'controls',
'loop', 'speed',
'theme', 'cloth',
'lang', 'readout',
'movelist', 'scrub'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。