Search...
tooltip
Sets or gets the toggle switch's tooltip content.
Description
Setting the tooltip
property defines the text that is displayed when a visitor hovers over an element's icon.
Set tooltip
to null
to disable.
Max: 1200 characters
Type:
string
Read & Write, default value is An empty string|
nullWas this helpful?
Get the dashboard toggle switch's tooltip text
Copy Code
1let tooltip = $w('#myElement').tooltip; // "Submit your information here"
Set the dashboard toggle switch's tooltip text
Copy Code
1$w('#myElement').tooltip = "Submit your information here";
Disable the dashboard toggle switch's tooltip
Copy Code
1$w('#myElement').tooltip = null; // Disables the tooltip