goog.positioning.AbsolutePosition
Classgoog.positioning.AbsolutePosition
> goog.positioning.AbstractPosition
goog.positioning.AbsolutePosition(arg1, opt_arg2)
Encapsulates a popup position where the popup absolutely positioned by setting the left/top style elements directly to the specified values. The position is generally relative to the element's offsetParent. Normally, this is the document body, but can be another element if the popup element is scoped by an element with relative position.
arg1
{number
|!goog.math.Coordinate
}
opt_arg2
{number
=}
.coordinate
{goog.math.Coordinate
}Coordinate to position popup at.
.reposition(movableElement, movableCorner, opt_margin, opt_preferredSize)
Repositions the popup according to the current state.
movableElement
{Element
}
movableCorner
{goog.positioning.Corner
}
opt_margin
{goog.math.Box
=}
opt_preferredSize
{goog.math.Size
=}