リファレンス
/element/define
import { … } from "@johnmorrisdotca/hikidashi/element/define";
最小化と gzip 圧縮をしたサイズは 5.4 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
defineEra | 関数 | Defines an era-year tag once, optionally under a host's name. |
defineFurigana | 関数 | Defines a furigana tag once, optionally under a host's name. |
defineNumerals | 関数 | Defines a numeral tag once, optionally under a host's name. |
HIKIDASHI_EMBED_OPTION_KEYS | 定数 | Host options checked by the builder's coverage contract. |
HikidashiElementOptions | 型 | Host callbacks for a text-tool element. |
HikidashiEra | クラス | Displays a Japanese era year from a date, a western year or an era year. |
HikidashiFurigana | クラス | Displays a word with its reading shared over its kanji as native ruby markup. |
HikidashiNumerals | クラス | Writes, reads aloud or parses a Japanese numeral using the package's number tools. |
HikidashiResult | 型 | The structured result of a text-tool element, or null when its input cannot be read. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。