リファレンス
パズルの盤を登録する
import { … } from "@johnmorrisdotca/karakuri/element/define";
最小化と gzip 圧縮をしたサイズは 42.1 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
defineBoard | 関数 | Defines the board or a subclass under a custom tag. |
KARAKURI_EMBED_OPTION_KEYS | 定数 | Native mounted options, checked against the embed builder. |
KarakuriBoard | クラス | A reflected puzzle-game element with a preserved native controller. |
KarakuriElementOptions | 型 | Full native host options; attributes take priority over starting choices. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。