Reference
Shikaku player
import { … } from "@johnmorrisdotca/kazu/shikaku/play";
7.3 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
mountShikaku | function | A rectangle player in any element; mount once, update appearance with set, destroy on unmount. |
SHIKAKU_PLAY_STYLE | constant | Scoped native Shikaku board and player CSS. |
SHIKAKU_STRINGS | constant | Native English and Japanese labels and announcements for Shikaku. |
ShikakuDrawOptions | type | Current Shikaku marks or entries, selection, errors and native SVG appearance choices. |
ShikakuLanguage | type | The native English or Japanese display language for Shikaku. |
ShikakuMaterial | type | A supported material of the native Shikaku board. |
ShikakuMount | type | The mounted Shikaku game and progress, native controls and cleanup handle. |
ShikakuMountOptions | type | The initial Shikaku board, native progress, appearance and host event callbacks. |
ShikakuPieces | type | A supported native Shikaku mark or piece appearance. |