Reference
Cube elements
import { … } from "@johnmorrisdotca/kyuubu/element";
30.8 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
CUBE_ELEMENT_ATTRIBUTES | constant | The attributes the element reads. |
CUBE_ELEMENT_NAME | constant | The name the element is registered under. |
defineCube | function | Register <kyuubu-cube>, once. |
defineScramble | function | Register <kyuubu-scramble>, once. |
KyuubuCubeElement | type | What the element adds to an ordinary one. |
KyuubuScrambleElement | type | What the element adds to an ordinary one. |
paceFromAttribute | function | A pace from an attribute: a name, or seconds. |
SCRAMBLE_ELEMENT_ATTRIBUTES | constant | The attributes the element reads. |
SCRAMBLE_ELEMENT_NAME | constant | The name the element is registered under. |