Skip to main content

Home > blockly > icons > Icon > setTooltip

icons.Icon.setTooltip() method

Sets the tooltip for this icon to the given value. Null to show the tooltip of the block.

Signature:

setTooltip(tip: tooltip.TipInfo | null): void;

Parameters

ParameterTypeDescription
tiptooltip.TipInfo | null

Returns:

void