This creates button control.
Object defining html attributes for controls root element.
Buttons visual style. ('success', 'info', 'danger', 'warning', 'primary', 'default' or 'link') (default: 'default')
Button type ('button' or 'submit'). (default: button)
Callback that will be called when control is clicked.
Object defining css styles for controls root element.
If true control will be enabled if false control will be disabled (inactive).
Buttons icon (css style class, use bootstraps 'glyphicon glyphicon-', or FontAwesome 'fa fa-' classes).
Reference id of the control, it will be used to reference this control in the code throuth FieldsIndex objects.
If true this control definition will be ignored and control will not be initiated.
Callback that will be called when control is initialised.
Style class to add on root element of the control.
Buttons display text.
Set initial visibility of control. (default: true)
This creates button control.