blockly > Tooltip > getTooltipOfObject
Tooltip.getTooltipOfObject() function
Returns the tooltip text for the given element.
Signature:
export declare function getTooltipOfObject(object: any | null): string;
Parameters
Parameter | Type | Description |
---|---|---|
object | any | null | The object to get the tooltip text of. |
Returns:
string
The tooltip text of the element.