mountBushu関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Native interface, settings and words for host code.
インポート
import { mountBushu } from "@johnmorrisdotca/bushu/picker";
定義
function mountBushu(host: HTMLElement, options: BushuMountOptions): BushuMount
引数
| 名前 | 型 | 説明 |
|---|---|---|
host | HTMLElement | The HTMLElement that owns the native interface. |
options | BushuMountOptions | Native settings and callbacks for this mounted interface. |
戻り値
BushuMount
The native mounted handle, including controls and destroy() cleanup.
例
import { mountBushu } from "@johnmorrisdotca/bushu/picker";
const show = (host: HTMLElement, options: Parameters<typeof mountBushu>[1]) => mountBushu(host, options);
console.log(typeof show); // functionfunction出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。