Search.../

tooltip

Sets or gets an image's tooltip.

Description

An image's tooltip text is displayed when a user hovers over the image or when the image opens in a popup.

Note: tooltip is not supported in Editor X. Learn more about Editor X and images.

Type:

stringRead & Write, default value is An empty string

Was this helpful?

Get the image's tooltip text

Copy Code
1let toolTipText = $w("#myImage").tooltip; // "Tooltip text"
Set the image's tooltip text

Copy Code
1$w("#myImage").tooltip = "Tooltip text";