リファレンス
標準の旗の要素
import { … } from "@johnmorrisdotca/hata/element";
最小化と gzip 圧縮をしたサイズは 3941.6 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
defineFlag | 関数 | Register <hata-flag>, once. |
FLAG_ELEMENT_ATTRIBUTES | 定数 | The attributes <hata-flag> reads. |
FLAG_ELEMENT_NAME | 定数 | The name the element is registered under. |
FlagElementEventDetail | 型 | What hata-load and hata-error carry in detail: the code as asked, and for an error why nothing was drawn. |
HataFlagElement | 型 | What <hata-flag> adds to an ordinary element. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。