src/aria/widgets/form/DropDownTextInput.js
function (event) {
            // PROFILING // var profilingId = this.$startMeasure("handle key " + String.fromCharCode(event.charCode)
            // PROFILING // + " (" + event.charCode + ")");
            if (this.controller) {
                if (!event.ctrlKey && !event.altKey) {
                    // we ignore CTRL+ / ALT+ key presses
                    this._checkKeyStroke(event);
                } else {
                    // alt or ctrl keys are pressed
                    // we check that copy/paste content is correct
                    ariaCoreTimer.addCallback({
                        fn : this._checkKeyStroke,
                        scope : this,
                        args : event,
                        delay : 4
                    });
                }
            }
            // PROFILING // this.$stopMeasure(profilingId);
        }
function (event) {
            // PROFILING // var profilingId = this.$startMeasure("handle key " + String.fromCharCode(event.charCode)
            // PROFILING // + " (" + event.charCode + ")");
            if (this.controller) {
                if (!event.ctrlKey && !event.altKey) {
                    // we ignore CTRL+ / ALT+ key presses
                    this._checkKeyStroke(event);
                } else {
                    // alt or ctrl keys are pressed
                    // we check that copy/paste content is correct
                    ariaCoreTimer.addCallback({
                        fn : this._checkKeyStroke,
                        scope : this,
                        args : event,
                        delay : 4
                    });
                }
            }
            // PROFILING // this.$stopMeasure(profilingId);
        }
function ( event ) { // PROFILING // var profilingId = this.$startMeasure("handle key " + String.fromCharCode(event.charCode) // PROFILING // + " (" + event.charCode + ")"); if ( this . controller ) { if ( ! event . ctrlKey && ! event . altKey ) { // we ignore CTRL+ / ALT+ key presses this . _checkKeyStroke ( event ) ; } else { // alt or ctrl keys are pressed // we check that copy/paste content is correct ariaCoreTimer . addCallback ( { fn : this . _checkKeyStroke , scope : this , args : event , delay : 4 } ) ; } } // PROFILING // this.$stopMeasure(profilingId); }
Handle key event on keydown or keypress. This function is asynchronous for special keys
@protected
@param {Object|aria.DomEvent} event object containing keyboard event information (at least charCode and
keyCode properties). This object may be or may not be an instance of aria.DomEvent.
Handle key event on keydown or keypress . This function is asynchronous for special keys