The button element provides a push button widget, which can optionally be grouped, so that only one button in a group can be active at any given time.
icon: ~ # Icon CSS class to use
label: ~ # Icon label to use
group: ~ # Group to put the button into. Only one button per group can be active
target: ~ # Id of target element
action: ~ # method of target to call when button is activated
deactivate: ~ # method of target to call when button is deactivated
None.
Activates button. Get’s called on click if button is deactivated.
Deactivates button. Gets called on click if button is active or when another button of the same group gets activated.
None.