CUBOID_ELEMENT_ATTRIBUTESconstant
The attributes the element reads. Changing any draws the player afresh.
Import it
import { CUBOID_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/cuboid/element";
Definition
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
Examples
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'
]What it prints (run when this page was built)