Function: createToolbar()
ts
function createToolbar(
container,
host,
dark): {
destroy: () => void;
element: HTMLElement;
};Defined in: ui/toolbar.ts:72
Build a floating toolbar in container and wire it to the plot host.
Parameters
| Parameter | Type |
|---|---|
container | HTMLElement |
host | ToolbarHost |
dark | boolean |
Returns
ts
{
destroy: () => void;
element: HTMLElement;
}destroy
ts
destroy: () => void;Returns
void
element
ts
element: HTMLElement;