search

goog.positioning.ViewportPosition

Provided By
Extends
All Known Direct Subclasses

Encapsulates a popup position where the popup is positioned according to coordinates relative to the element's viewport (page). This calculates the correct position to use even if the element is relatively positioned to some other element.

new ViewportPosition( arg1, opt_arg2 )

Parameters
arg1(number|goog.math.Coordinate|null)

Left position or coordinate.

opt_arg2number=

Top position.

Instance Methods

Instance Properties