Reference · Native radical picker
mountBushufunction
Native interface, settings and words for host code.
Import it
import { mountBushu } from "@johnmorrisdotca/bushu/picker";
Definition
function mountBushu(host: HTMLElement, options: BushuMountOptions): BushuMount
Parameters
| Name | Type | Description |
|---|---|---|
host | HTMLElement | The HTMLElement that owns the native interface. |
options | BushuMountOptions | Native settings and callbacks for this mounted interface. |
Returns
BushuMount
The native mounted handle, including controls and destroy() cleanup.
Examples
import { mountBushu } from "@johnmorrisdotca/bushu/picker";
const show = (host: HTMLElement, options: Parameters<typeof mountBushu>[1]) => mountBushu(host, options);
console.log(typeof show); // functionfunctionWhat it prints (run when this page was built)