GSButton Class
A button allows to trigger a certain action/delegate or to open a popup-window. If a popup-window is associated to a button the button is able to write the data from the popup-window to the specified attribute.
Item Index
Properties
Properties
data
Object
Custom data the button will automatically send to delegates and bindings if clicked.
data (Binding)
Object
Custom data the button will automatically send to delegates and bindings if clicked.
dataReference
String
Changes where the button should store the data from the popup-window. Can be "local.data.[path]" to store in local data object of the view or "user.data.[path]" to store in the user-profile.
dialog
DialogDescriptor
The popup dialog shown up if the user clicks the button. The data of the popup dialog is automatically stored if attribute is present.
text
String
The button's text.