src/aria/widgets/action/Button.js
function (domEvt) {
            if (domEvt.keyCode == ariaDomEvent.KC_SPACE || domEvt.keyCode == ariaDomEvent.KC_ENTER) {
                this._keyPressed = true;
                this._updateState();
                domEvt.stopPropagation();
                return false;
            }

            return true;
        }
function (domEvt) {
            if (domEvt.keyCode == ariaDomEvent.KC_SPACE || domEvt.keyCode == ariaDomEvent.KC_ENTER) {
                this._keyPressed = true;
                this._updateState();
                domEvt.stopPropagation();
                return false;
            }

            return true;
        }
function ( domEvt ) { if ( domEvt . keyCode == ariaDomEvent . KC_SPACE || domEvt . keyCode == ariaDomEvent . KC_ENTER ) { this . _keyPressed = true ; this . _updateState ( ) ; domEvt . stopPropagation ( ) ; return false ; } return true ; }
React to delegated key down events
@protected
@param {aria.DomEvent} domEvt Event
React to delegated key down events