<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`setTooltip`](setTooltip) ## setTooltip() function **Signature:** ```typescript export function setTooltip(el: HTMLElement, tooltip: string, options?: TooltipOptions): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>el</code> | <code>HTMLElement</code> | The element to show the tooltip on | | <code>tooltip</code> | <code>string</code> | The tooltip text to show | | <code>options</code> | [`TooltipOptions`](TooltipOptions) | _(Optional)_ 1.4.4 | **Returns:** `void`