Skip to content

setTooltip

Code location

setTooltip(el, tooltip, options?): void

Parameters

el: HTMLElement

The element to show the tooltip on

tooltip: string

The tooltip text to show

options?: TooltipOptions

Returns

void