The goog.ui.Popup.AnchoredViewPortPosition Class

goog.ui.Popup.AnchoredViewPortPosition
> goog.ui.Popup.AnchoredPosition
> goog.positioning.AbstractPosition

.reposition(movableElement, corner, opt_margin, opt_preferredSize)

Inherited from goog.positioning.AbstractPosition .

Repositions the element. Abstract method, should be overloaded.

movableElement {Element}
Element to position.
corner {goog.positioning.Corner}
Corner of the movable element that should be positioned adjacent to the anchored element.
opt_margin {goog.math.Box=}
A margin specified in pixels.
opt_preferredSize {goog.math.Size=}
PreferredSize of the movableElement.