Skip to main content

blockly > Tooltip > setCustomTooltip

Tooltip.setCustomTooltip() function

Sets a custom function that will be called if present instead of the default tooltip UI.

Signature:

export declare function setCustomTooltip(customFn: CustomTooltip): void;

Parameters

Parameter

Type

Description

customFn

CustomTooltip

A custom tooltip used to render an alternate tooltip UI.

Returns:

void