リファレンス
ペグ・ソリティアの要素
import { … } from "@johnmorrisdotca/tobiishi/element";
最小化と gzip 圧縮をしたサイズは 10.0 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
defineGame | 関数 | Registers the default game or a subclass under a host's tag. |
defineTobiishi | 関数 | Compatible registration name, with an optional registry. |
TOBIISHI_EMBED_OPTION_KEYS | 定数 | The native mounted options, checked by the shared builder. |
TobiishiElementOptions | 型 | Host games, witnesses, palettes, external settings and the original persistence callback. |
TobiishiGame | クラス | A peg-solitaire element with reflected choices and preserved native player state. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。