src/aria/popups/PopupManager.js
function (domElement) {
                var popups = this.popups;
                for (var i = 0, l = popups.length; i < l; i++) {
                    var curPopup = popups[i];
                    if (curPopup.domElement == domElement) {
                        return curPopup;
                    }
                }
                return null;
            }
function (domElement) {
                var popups = this.popups;
                for (var i = 0, l = popups.length; i < l; i++) {
                    var curPopup = popups[i];
                    if (curPopup.domElement == domElement) {
                        return curPopup;
                    }
                }
                return null;
            }
function ( domElement ) { var popups = this . popups ; for ( var i = 0 , l = popups . length ; i < l ; i ++ ) { var curPopup = popups [ i ] ; if ( curPopup . domElement == domElement ) { return curPopup ; } } return null ; }
Get the popup object from its DOM element.
@param {HTMLElement} domElement DOM element of the popup
@return {aria.popups.Popup}
Get the popup object from its DOM element .