goog.ui.Popup.AnchoredPosition
Classgoog.ui.Popup.AnchoredPosition
> goog.positioning.AbstractPosition
goog.ui.Popup.AnchoredPosition
[deprecated]Deprecated. Use {@link goog.positioning.AnchoredPosition} instead, this alias will be removed at the end of Q1 2009.
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.
element
{Element
}
corner
{goog.positioning.Corner
}
.reposition(movableElement, corner, opt_margin, opt_preferredSize)
Inherited from goog.positioning.AbstractPosition
.
Repositions the element. Abstract method, should be overloaded.
movableElement
{Element
}
corner
{goog.positioning.Corner
}
opt_margin
{goog.math.Box
=}
opt_preferredSize
{goog.math.Size
=}