lib/Ext/event/Dom.js
function(selector, maxDepth, returnEl) {
        if (arguments.length === 0) {
            return this.delegatedTarget;
        }

        return selector ? Ext.fly(this.target).findParent(selector, maxDepth, returnEl) : (returnEl ? Ext.get(this.target) : this.target);
    }
function(selector, maxDepth, returnEl) {
        if (arguments.length === 0) {
            return this.delegatedTarget;
        }

        return selector ? Ext.fly(this.target).findParent(selector, maxDepth, returnEl) : (returnEl ? Ext.get(this.target) : this.target);
    }
Gets the target for the event. Unlike {@link #target}, this returns the main element for your event. So if you are
listening to a tap event on Ext.Viewport.element, and you tap on an inner element of Ext.Viewport.element, this will
return Ext.Viewport.element.

If you want the element you tapped on, then use {@link #target}.

@param {String} selector (optional) A simple selector to filter the target or look for an ancestor of the target
@param {Number/Mixed} [maxDepth=10||document.body] (optional) The max depth to
search as a number or element (defaults to 10 || document.body)
@param {Boolean} returnEl (optional) `true` to return a Ext.Element object instead of DOM node.
@return {HTMLElement}