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
Parameter | Type | Description |
---|---|---|
tip | tooltip.TipInfo | null |
Returns:
void