src/aria/widgets/form/CheckBox.js
function () {
            var newValue = !this.getProperty("value");
            this._cfg.value = newValue;
            this.setProperty("value", newValue);
            // setProperty on value might destroy the widget
            if (this._cfg) {
                this._setState();
                this._updateDomForState();
                var changeCallback = this._cfg.onchange;
                if (changeCallback) {
                    this.evalCallback(changeCallback);
                }
            }
        }
function () {
            var newValue = !this.getProperty("value");
            this._cfg.value = newValue;
            this.setProperty("value", newValue);
            // setProperty on value might destroy the widget
            if (this._cfg) {
                this._setState();
                this._updateDomForState();
                var changeCallback = this._cfg.onchange;
                if (changeCallback) {
                    this.evalCallback(changeCallback);
                }
            }
        }
function ( ) { var newValue = ! this . getProperty ( "value" ) ; this . _cfg . value = newValue ; this . setProperty ( "value" , newValue ) ; // setProperty on value might destroy the widget if ( this . _cfg ) { this . _setState ( ) ; this . _updateDomForState ( ) ; var changeCallback = this . _cfg . onchange ; if ( changeCallback ) { this . evalCallback ( changeCallback ) ; } } }
Toggles the value of the checkbox and updates states, DOM etc. Typically called when user performs action
that toggles the value
@protected
Toggles the value of the checkbox and updates states DOM etc . Typically called when user performs action that toggles the value