リファレンス
領域を遊ぶ
import { … } from "@johnmorrisdotca/kazu/regions/play";
最小化と gzip 圧縮をしたサイズは 6.5 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
mountRegions | 関数 | Mount the native Regions player in a host element and return its cleanup and control handle. |
REGIONS_PLAY_STYLE | 定数 | Scoped native Regions board and player CSS. |
REGIONS_STRINGS | 定数 | Native English and Japanese labels and announcements for Regions. |
RegionsDrawOptions | 型 | Current Regions marks or entries, selection, errors and native SVG appearance choices. |
RegionsLanguage | 型 | The native English or Japanese display language for Regions. |
RegionsMaterial | 型 | A supported material of the native Regions board. |
RegionsMount | 型 | The mounted Regions game and progress, native controls and cleanup handle. |
RegionsMountOptions | 型 | The initial Regions board, native progress, appearance and host event callbacks. |
RegionsPieces | 型 | A supported native Regions mark or piece appearance. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。