Skip to content

ButtonComponent.setTooltip method

ButtonComponent › setTooltip

Official

Sets the tooltip for the button component.

Signature:

setTooltip(tooltip: string, options?: TooltipOptions | undefined): this

Parameters:

ParameterTypeDescription
tooltipstringThe tooltip text.
options?TooltipOptions | undefinedThe tooltip options.

Returns: this

Since: 1.1.0