defineBoard関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Register a standard or custom board tag, preserving a definition. Safe without a browser.
インポート
import { defineBoard } from "@johnmorrisdotca/tsunagi/element";
ほかのエクスポート元: @johnmorrisdotca/tsunagi/element/define
定義
function defineBoard(tag?: string): void
引数
| 名前 | 型 | 説明 |
|---|---|---|
tag (省略可) | string | The custom tag name; omitted to use the package default. |
例
import { defineBoard } from "@johnmorrisdotca/tsunagi/element";
defineBoard();
console.log(typeof defineBoard); // functionfunction出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。