CUBE_ELEMENT_ATTRIBUTESconstant
The attributes the element reads. Changing any draws the player afresh.
Import it
import { CUBE_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/element";
Definition
const CUBE_ELEMENT_ATTRIBUTES: readonly ["size", "scramble", "moves", "time", "autoplay", "controls", "loop", "speed", "theme", "cloth", "lang", "guide", "readout", "movelist", "scrub"] = [
"size",
"scramble",
"moves",
"time",
"autoplay",
"controls",
"loop",
"speed",
"theme",
"cloth",
"lang",
"guide",
"readout",
"movelist",
"scrub",
] as const
Examples
import { CUBE_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/element";
console.log(typeof CUBE_ELEMENT_ATTRIBUTES); // objectobjectWhat it prints (run when this page was built)