goog.positioning.AnchoredPosition
Classgoog.positioning.AnchoredPosition
> goog.positioning.AbstractPosition
goog.positioning.AnchoredPosition(anchorElement, corner, opt_overflow)
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.
anchorElement
{Element
}
corner
{goog.positioning.Corner
}
opt_overflow
{number
=}
.corner
{goog.positioning.Corner
}Corner of anchored element the movable element should be positioned at.
.element
{Element
}Element the movable element should be anchored against.
.reposition(movableElement, movableCorner, opt_margin, opt_preferredSize)
Repositions the movable element.
movableElement
{Element
}
movableCorner
{goog.positioning.Corner
}
opt_margin
{goog.math.Box
=}
opt_preferredSize
{goog.math.Size
=}