src/aria/html/TextInput.js
function keyDownToType (event, callbackArray) {
        this._typeCallback = ariaCoreTimer.addCallback({
            fn : typeCallback,
            scope : this,
            delay : 12,
            args : callbackArray
        });
    }
function keyDownToType (event, callbackArray) {
        this._typeCallback = ariaCoreTimer.addCallback({
            fn : typeCallback,
            scope : this,
            delay : 12,
            args : callbackArray
        });
    }
function keyDownToType ( event , callbackArray ) { this . _typeCallback = ariaCoreTimer . addCallback ( { fn : typeCallback , scope : this , delay : 12 , args : callbackArray } ) ; }
Convert a keydown event into a type event. This is achieved adding a very short callback on keydown. The reason
being the fact that on keydown the input has still the previous value. In the callback we'll see the correct text
input value. This function should have the same scope as the widget instance.
@param {aria.DomEvent} event keydown event
@param {Array} callbackArray Array of callbacks for the type event
@private
Convert a keydown event into a type event . This is achieved adding a very short callback on keydown . The reason being the fact that on keydown the input has still the previous value . In the callback we ll see the correct text input value . This function should have the same scope as the widget instance .