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