blockly > Tooltip > getTooltipOfObject
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["`Tooltip.getTooltipOfObject()` retrieves the tooltip text associated with a specific element."],["The function accepts an object as input and returns the corresponding tooltip text as a string."]]],[]]