Reference
Cuboid player
import { … } from "@johnmorrisdotca/kyuubu/cuboid/play";
19.7 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
CUBOID_PLAYER_CSS | constant | The player's stylesheet, put in the page once: the cube player's, under the same class names and custom properties. |
CuboidPlayerHandle | type | A cuboid player on the page. |
CuboidPlayerOptions | type | How a cuboid player is set up: the solve, and how it is shown. |
mountCuboidPlayer | function | A solve on a cuboid drawn in an element, with its controls. |