Reference
Ripple Effect player
import { … } from "@johnmorrisdotca/kazu/ripple/play";
6.6 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
mountRipple | function | Mount the native Ripple player in a host element and return its cleanup and control handle. |
RIPPLE_PLAY_STYLE | constant | Scoped native Ripple board and player CSS. |
RIPPLE_STRINGS | constant | Native English and Japanese labels and announcements for Ripple. |
RippleDrawOptions | type | Current Ripple marks or entries, selection, errors and native SVG appearance choices. |
RippleMount | type | The mounted Ripple game and progress, native controls and cleanup handle. |
RippleMountOptions | type | The initial Ripple board, native progress, appearance and host event callbacks. |