リファレンス
埋め込みのローラーとダイス
import { … } from "@johnmorrisdotca/korokoro/element";
最小化と gzip 圧縮をしたサイズは 97.2 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
defineDie | 関数 | Register <korokoro-die>, as that tag unless another is asked for. |
defineRoller | 関数 | Register the element, as <korokoro-roller> unless another tag is asked for. |
DIE_TAG | 定数 | The die's tag, unless another is asked for. |
KorokoroDie | クラス | ONE DIE ON ITS OWN, as a custom element: |
KorokoroRoller | クラス | The <korokoro-roller> element. |
ROLLER_TAG | 定数 | The element's tag, unless another is asked for. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。