SCRAMBLE_ELEMENT_ATTRIBUTESconstant
The attributes the element reads. Changing any draws the cube afresh, except pace and paused, which change the loop alone.
Import it
import { SCRAMBLE_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/element";
Definition
const SCRAMBLE_ELEMENT_ATTRIBUTES: readonly ["size", "pace", "paused", "scale", "width", "theme", "faces", "interactive", "seed", "lang"] = [
"size",
"pace",
"paused",
"scale",
"width",
"theme",
"faces",
"interactive",
"seed",
"lang",
] as const
Examples
import { SCRAMBLE_ELEMENT_ATTRIBUTES } from "@johnmorrisdotca/kyuubu/element";
console.log(SCRAMBLE_ELEMENT_ATTRIBUTES);[
'size', 'pace',
'paused', 'scale',
'width', 'theme',
'faces', 'interactive',
'seed', 'lang'
]What it prints (run when this page was built)