search

goog.positioning.AnchoredPosition

Provided By
Extends
All Known Direct Subclasses

Encapsulates a popup position where the popup is anchored at a corner of an element.

When using AnchoredPosition, it is recommended that the popup element specified in the Popup constructor or Popup.setElement be absolutely positioned.

new AnchoredPosition( anchorElement, corner, opt_overflow )

Parameters
anchorElement(Element|null)

Element the movable element should be anchored against.

cornergoog.positioning.Corner

Corner of anchored element the movable element should be positioned at.

opt_overflownumber=

Overflow handling mode. Defaults to IGNORE if not specified. Bitmap, goog.positioning.Overflow.

Instance Methods

Instance Properties