Search.../

tooltip

Sets or gets the dashboard input element's tooltip content.

Description

Setting the tooltip property defines the text that is displayed when a visitor hovers over an element's tooltip-icon icon. Set tooltip to null to disable.

Max: 1200 characters

Type:

stringRead & Write

Was this helpful?

Get the dashboard input's tooltip

Copy Code
1let tooltip = $w('#myElement').tooltip; // "Submit your information here"
Set the dashboard input's tooltip

Copy Code
1$w('#myElement').tooltip = "Submit your information here";
Disable the dashboard input's tooltip

Copy Code
1$w('#myElement').tooltip = null; // Disables the tooltip