Skip to main content

Home > 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

ParameterTypeDescription
customFnCustomTooltipA custom tooltip used to render an alternate tooltip UI.

Returns:

void