リファレンス
登録の別名
import { … } from "@johnmorrisdotca/hitotsu/element-define";
最小化と gzip 圧縮をしたサイズは 42.7 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
<hitotsu-table>, registered by being imported:
<hitotsu-table rules="party" computers="3"></hitotsu-table>
The one module of the package that does something when it is imported, and
package.json says so, so that a bundler keeps it. ./element exports the
same class and defineHitotsuTable() with no effect of its own, for a page
that wants to choose when.
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
defineHitotsuTable | 関数 | Register a default or custom-tag native table; safe on servers and idempotent. |
defineTable | 関数 | Standard table registration helper. |
HITOTSU_EMBED_OPTION_KEYS | 定数 | Native option keys checked by the builder. |
HitotsuElementOptions | 型 | Host-only settings, including custom house rules and private names. |
HitotsuTableElement | クラス | A native playable colour-card table with reflected settings. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。