search

goog.ui.Popup

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

The Popup class provides functionality for displaying an absolutely positioned element at a particular location in the window. It's designed to be used as the foundation for building controls like a menu or tooltip. The Popup class includes functionality for displaying a Popup near adjacent to an anchor element.

This works cross browser and thus does not use IE's createPopup feature which supports extending outside the edge of the brower window.

new Popup( opt_element, opt_position )

Parameters
opt_element(Element|null)=

A DOM element for the popup.

opt_position(goog.positioning.AbstractPosition|null)=

A positioning helper object.

Instance Methods

Instance Properties