Mixin to provide widget functionality corresponding to an HTML checkbox
User interacts with real html inputs. On onclick (which occurs by mouse click, space-bar, or using the arrow keys to switch the selected radio button), we update the state of the checkbox/radio.
See the dijit/form/_CheckBoxMixin reference documentation for more information.
Should this widget respond to user input? In markup, this is specified as "readOnly". Similar to disabled except readOnly form values are submitted.
type attribute on <input>
node.
Overrides dijit/form/Button.type. Users should not change this value.
As an initialization parameter, equivalent to value field on normal checkbox (if checked, the value is passed as the value when form is submitted).
Parameter | Type | Description |
---|---|---|
value | Boolean |
Parameter | Type | Description |
---|---|---|
newValue | undefined |
Internal function to handle click actions - need to check readOnly, since button no longer does that check.
Parameter | Type | Description |
---|---|---|
e | Event |