src/aria/widgets/form/RadioButton.js
function () {
                var newValue = this._cfg.keyValue;
                this._cfg.value = newValue;
                this.setProperty("value", newValue);
                // setProperty on value might destroy the widget
                if (this._cfg) {
                    this._setState();
                    this._updateDomForState();
                    if (this._cfg.onchange) {
                        this.evalCallback(this._cfg.onchange);
                    }
                }
            }
function () {
                var newValue = this._cfg.keyValue;
                this._cfg.value = newValue;
                this.setProperty("value", newValue);
                // setProperty on value might destroy the widget
                if (this._cfg) {
                    this._setState();
                    this._updateDomForState();
                    if (this._cfg.onchange) {
                        this.evalCallback(this._cfg.onchange);
                    }
                }
            }
function ( ) { var newValue = this . _cfg . keyValue ; this . _cfg . value = newValue ; this . setProperty ( "value" , newValue ) ; // setProperty on value might destroy the widget if ( this . _cfg ) { this . _setState ( ) ; this . _updateDomForState ( ) ; if ( this . _cfg . onchange ) { this . evalCallback ( this . _cfg . onchange ) ; } } }
Sets the value property to the key value of this radio button and updates state, dom etc. Typically
called when user "selects" the radio button
Sets the value property to the key value of this radio button and updates state dom etc . Typically called when user selects the radio button