src/aria/widgets/frames/FrameWithIcons.js
function (event, iconName) {
            var eventType = event.type;
            if (eventType == "safetap" && !registerSafeTap(event)) {
                // $SafeTap does not load the SafeTap class on non-touch devices
                // however, that class may be loaded for any other reason, in which case
                // we can receive safetap events but then registerSafeTap returns false
                // and we can ignore the safetap event (as there will be also a click event)
                return;
            }
            var eventName = this.eventMap[eventType];
            if (eventName) {
                this.$raiseEvent({
                    name : eventName,
                    iconName : iconName,
                    event: event
                });
            }
        }
function (event, iconName) {
            var eventType = event.type;
            if (eventType == "safetap" && !registerSafeTap(event)) {
                // $SafeTap does not load the SafeTap class on non-touch devices
                // however, that class may be loaded for any other reason, in which case
                // we can receive safetap events but then registerSafeTap returns false
                // and we can ignore the safetap event (as there will be also a click event)
                return;
            }
            var eventName = this.eventMap[eventType];
            if (eventName) {
                this.$raiseEvent({
                    name : eventName,
                    iconName : iconName,
                    event: event
                });
            }
        }
function ( event , iconName ) { var eventType = event . type ; if ( eventType == "safetap" && ! registerSafeTap ( event ) ) { // $SafeTap does not load the SafeTap class on non-touch devices // however, that class may be loaded for any other reason, in which case // we can receive safetap events but then registerSafeTap returns false // and we can ignore the safetap event (as there will be also a click event) return ; } var eventName = this . eventMap [ eventType ] ; if ( eventName ) { this . $raiseEvent ( { name : eventName , iconName : iconName , event : event } ) ; } }
Delegate Icon event
@param {aria.DomEvent} event
@param {String} iconName
Delegate Icon event