icon


iconstring

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:

  • Vector images from the Media Manager: wix:vector://v1//
  • Vector images from the web: http(s)://
  • Vector XML string: ...

Note: Image Buttons are not supported by the HamburgerCloseButton.

Was this helpful?
Yes
No