A mixin to provide functionality to allow a button that can be in two states (checked or not).
See the dijit/form/_ToggleButtonMixin reference documentation for more information.
Corresponds to the native HTML <input>
element's attribute.
In markup, specified as "checked='checked'" or just "checked".
True if the button is depressed, or the checkbox is checked,
or the radio button is selected, etc.
Parameter | Type | Description |
---|---|---|
value | Boolean | |
priorityChange | Boolean |
Optional
|
Reset the widget's value to what it was at initialization time