src/aria/html/TextInput.js
function (listeners, context) {
                if (listeners.type) {
                    this._chainListener(listeners, "keydown", {
                        fn : keyDownToType,
                        scope : this,
                        args : ariaUtilsType.isArray(listeners.type) ? listeners.type : [listeners.type]
                    });
                    delete listeners.type;
                }
            }
function (listeners, context) {
                if (listeners.type) {
                    this._chainListener(listeners, "keydown", {
                        fn : keyDownToType,
                        scope : this,
                        args : ariaUtilsType.isArray(listeners.type) ? listeners.type : [listeners.type]
                    });
                    delete listeners.type;
                }
            }
function ( listeners , context ) { if ( listeners . type ) { this . _chainListener ( listeners , "keydown" , { fn : keyDownToType , scope : this , args : ariaUtilsType . isArray ( listeners . type ) ? listeners . type : [ listeners . type ] } ) ; delete listeners . type ; } }
Convert the special event type into a keydown event listener.
@param {Object} listeners On listeners taken from the widget configuration.
@param {aria.templates.TemplateCtxt} context Reference of the template context.
@return {Boolean} Whether the keydown events should be converted back to type events.
@protected
Convert the special event type into a keydown event listener .