Skip to main content

Button

This view allows you to fire an event when the user taps it.

JSON Format

{
"type": "button",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...,
"text": ...,
"enabled": ...,
"event_names": ...,
"event": ...
}

Fields

FieldTypeRequiredDescription
eventEventOptional. Either this property or event_names should be provided. The event that should be fired when this button is pressed.