Reference
Loop player
import { … } from "@johnmorrisdotca/kazu/loop/play";
8.3 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
LOOP_PLAY_STYLE | constant | Scoped native Loop board and player CSS. |
LOOP_STRINGS | constant | Native English and Japanese labels and announcements for Loop. |
LoopDrawOptions | type | Current Loop marks or entries, selection, errors and native SVG appearance choices. |
LoopLanguage | type | The native English or Japanese display language for Loop. |
LoopMaterial | type | A supported material of the native Loop board. |
LoopMount | type | The mounted Loop game and progress, native controls and cleanup handle. |
LoopMountOptions | type | The initial Loop board, native progress, appearance and host event callbacks. |
mountLoop | function | Mounts an accessible dot-and-edge loop player in the given host element. |