src/aria/html/Element.js
function (event) {
                var type = event.type, callbackArray = this._cfg.on[type], callback, returnValue;
                if (callbackArray) {
                    var wrapped = new ariaTemplatesDomEventWrapper(event);
                    for (var i = 0, listCount = callbackArray.length; i < listCount; i++) {
                        callback = callbackArray[i];
                        returnValue = callback.fn.call(callback.scope, wrapped, callback.args);
                        if (returnValue === false) {
                            break;
                        }
                    }
                    wrapped.$dispose();
                    return returnValue;
                }
            }
function (event) {
                var type = event.type, callbackArray = this._cfg.on[type], callback, returnValue;
                if (callbackArray) {
                    var wrapped = new ariaTemplatesDomEventWrapper(event);
                    for (var i = 0, listCount = callbackArray.length; i < listCount; i++) {
                        callback = callbackArray[i];
                        returnValue = callback.fn.call(callback.scope, wrapped, callback.args);
                        if (returnValue === false) {
                            break;
                        }
                    }
                    wrapped.$dispose();
                    return returnValue;
                }
            }
function ( event ) { var type = event . type , callbackArray = this . _cfg . on [ type ] , callback , returnValue ; if ( callbackArray ) { var wrapped = new ariaTemplatesDomEventWrapper ( event ) ; for ( var i = 0 , listCount = callbackArray . length ; i < listCount ; i ++ ) { callback = callbackArray [ i ] ; returnValue = callback . fn . call ( callback . scope , wrapped , callback . args ) ; if ( returnValue === false ) { break ; } } wrapped . $dispose ( ) ; return returnValue ; } }
Callback for delegated events. If an 'on' callback was registered it calls the appropriate callback
passing a aria.templates.DomEventWrapper to the callback function
@param {aria.DomEvent} event Wrapped event
@protected
Callback for delegated events . If an on callback was registered it calls the appropriate callback passing a aria . templates . DomEventWrapper to the callback function