autocheck
true
or left out, the checked state of the button will be switched each time the button is pressed. If this attribute is false
, the checked state must be adjusted manually. When autocheck is true, the button type should be "checkbox" or "radio".