Reference
Regions player
import { … } from "@johnmorrisdotca/kazu/regions/play";
6.5 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
mountRegions | function | Mount the native Regions player in a host element and return its cleanup and control handle. |
REGIONS_PLAY_STYLE | constant | Scoped native Regions board and player CSS. |
REGIONS_STRINGS | constant | Native English and Japanese labels and announcements for Regions. |
RegionsDrawOptions | type | Current Regions marks or entries, selection, errors and native SVG appearance choices. |
RegionsLanguage | type | The native English or Japanese display language for Regions. |
RegionsMaterial | type | A supported material of the native Regions board. |
RegionsMount | type | The mounted Regions game and progress, native controls and cleanup handle. |
RegionsMountOptions | type | The initial Regions board, native progress, appearance and host event callbacks. |
RegionsPieces | type | A supported native Regions mark or piece appearance. |