search

goog.ui.ModalPopup

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Base class for modal popup UI components. This can also be used as a standalone component to render a modal popup with an empty div.

WARNING: goog.ui.ModalPopup is only guaranteed to work when it is rendered directly in the 'body' element.

The Html structure of the modal popup is:

  Element         Function              Class-name, goog-modalpopup = default
 ----------------------------------------------------------------------------
 - iframe         Iframe mask           goog-modalpopup-bg
 - div            Background mask       goog-modalpopup-bg
 - div            Modal popup area      goog-modalpopup
 - span           Tab catcher
 

new ModalPopup( opt_useIframeMask, opt_domHelper )

Parameters
opt_useIframeMaskboolean=

Work around windowed controls z-index issue by using an iframe instead of a div for bg element.

opt_domHelper(goog.dom.DomHelper|null)=

Optional DOM helper; see goog.ui.Component for semantics.

Instance Methods

Instance Properties