button()
button(
content,handler,tooltip?):HTMLButtonElement
Defined in: ui.ts:486
Creates a button with the specified text, click handler, and tooltip. Example: https://public.datagrok.ai/js/samples/ui/components/buttons
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
content | string | Element | (string | Element)[] | undefined | - |
handler | Function | undefined | - |
tooltip | string | null | null | - |
Returns
HTMLButtonElement