defineToranpuElements関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Register the elements under their tags, once; a tag already taken is left as it is. Does nothing where there are no custom elements, as on a server.
インポート
import { defineToranpuElements } from "@johnmorrisdotca/toranpu/element";
ほかのエクスポート元: @johnmorrisdotca/toranpu/element/define
定義
function defineToranpuElements(): void
例
import { defineToranpuElements } from "@johnmorrisdotca/toranpu/element";
defineToranpuElements();
console.log(typeof defineToranpuElements); // functionfunction出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。