リファレンス
四角に切れを遊ぶ
import { … } from "@johnmorrisdotca/kazu/shikaku/play";
最小化と gzip 圧縮をしたサイズは 7.3 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
mountShikaku | 関数 | A rectangle player in any element; mount once, update appearance with set, destroy on unmount. |
SHIKAKU_PLAY_STYLE | 定数 | Scoped native Shikaku board and player CSS. |
SHIKAKU_STRINGS | 定数 | Native English and Japanese labels and announcements for Shikaku. |
ShikakuDrawOptions | 型 | Current Shikaku marks or entries, selection, errors and native SVG appearance choices. |
ShikakuLanguage | 型 | The native English or Japanese display language for Shikaku. |
ShikakuMaterial | 型 | A supported material of the native Shikaku board. |
ShikakuMount | 型 | The mounted Shikaku game and progress, native controls and cleanup handle. |
ShikakuMountOptions | 型 | The initial Shikaku board, native progress, appearance and host event callbacks. |
ShikakuPieces | 型 | A supported native Shikaku mark or piece appearance. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。