goog.ui.Popup.ViewPortPosition
Classgoog.ui.Popup.ViewPortPosition
> goog.ui.Popup.AbsolutePosition
> goog.positioning.AbstractPosition
goog.ui.Popup.ViewPortPosition
[deprecated]Deprecated. Use {@link goog.positioning.ViewPortPosition} instead, this alias will be removed at the end of Q1 2009.
Encapsulates a popup position where the popup is positioned according to coordinates relative to the element's view port (page). This calculates the correct position to use even if the element is relatively positioned to some other element.
arg1
{number
|!goog.math.Coordinate
}
opt_arg2
{number
=}
.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
=}