button()
button(
content
,handler
,tooltip
):HTMLButtonElement
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 | null | string | null |
Returns
HTMLButtonElement