Search...
tooltip
Sets or gets an element's tooltip.
Description
Setting the tooltip
property defines the text that is displayed when a user hovers on an element's icon.
Maximum length is 1200 characters.
Type:
stringRead & Write
Was this helpful?
Get an element's tooltip
Copy Code
1let tooltip = $w("#myElement").tooltip; // "Tooltip text"
Set an element's tooltip
Copy Code
1$w("#myElement").tooltip = "New tooltip";