Sets or gets the icon image displayed on the button.
The icon
property defines the vector image used as the button’s icon.
Setting icon
changes the button icon to the image indicated by the new value.
Getting the icon
property returns the location of the icon image file.
To delete a button's icon set icon
to null
, undefined
, or an empty string.
The following formats are supported:
wix:vector://v1//
http(s)://
...
Note: Image Buttons don't support this property.