Image-button widget
The image-button widget is an image that is a button.
Properties
This widget inherits the properties of Button widget. It also has the following properties:
Property |
Description |
Data type |
---|---|---|
|
See Context properties. |
string (JSON) |
|
Name of event that fires when a user clicks the button. |
string |
|
The following icon settings:
|
string and enum |
|
Unique identifier of this widget. |
string |
|
This property is optional. (Default is small.) |
enum |
|
Optional property defining image button style, which is one of:
|
enum |
|
Text displayed on the button. |
string |
|
Title displayed on the button. |
string |
type
|
Rich-media type, which is always ImageButton . |
string |
Context properties
Context property |
Description |
Data type |
---|---|---|
|
Accepts either:
|
either enum or string (JSON with hex color code) |
|
The text color, as a hex color code. |
string (hex color code) |
|
The label color, as a hex color code. |
string (hex color code) |