Reference
Replay player
import { … } from "@johnmorrisdotca/kyuubu/player";
28.7 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
mountPlayer | function | A solve drawn in an element, with its controls. |
PLAYER_CSS | constant | The player's stylesheet, put in the page once. |
PlayerHandle | type | A player on the page. |
PlayerOptions | type | How a player is set up: the solve, and how it is shown. |