Reference
Akari player
import { … } from "@johnmorrisdotca/kazu/akari/play";
7.2 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
AkariDrawOptions | type | Current Akari marks or entries, selection, errors and native SVG appearance choices. |
AkariLanguage | type | The native English or Japanese display language for Akari. |
AkariMaterial | type | A supported material of the native Akari board. |
AkariMount | type | The mounted Akari game and progress, native controls and cleanup handle. |
AkariMountOptions | type | The initial Akari board, native progress, appearance and host event callbacks. |
AkariPieces | type | A supported native Akari mark or piece appearance. |
mountAkari | function | Mounts the player in a host element; call destroy when the host is removed. |