![]()
Enum for representing an element corner for positioning the popup.
The START constants map to LEFT if element directionality is left
to right and RIGHT if the directionality is right to left.
Likewise END maps to RIGHT or LEFT depending on the directionality.
Constants:
|
Code » | ||||||||||||||
![]()
Enum for bits in the
Constants:
|
Code » | ||||||||||||||
![]()
Enum for representing position handling in cases where the element would be
positioned outside the viewport.
Constants:
|
Code » | ||||||||||||||
![]()
Enum for representing the outcome of a positioning call.
Constants:
|
Code » |
![]()
Adjusts the position and/or size of an element, identified by its position
and size, to fit inside the viewport. If the position or size of the element
is adjusted the pos or size objects, respectively, are modified.
Arguments:
Returns: goog.positioning.OverflowStatus
Status bitmap,
.
|
code » | ||||||||||
![]()
Returns the corner opposite the given one horizontally and vertically.
Arguments:
Returns: goog.positioning.Corner
The opposite corner horizontally and
vertically.
|
code » | ||||||||||
![]()
Returns the corner opposite the given one horizontally.
Arguments:
Returns: goog.positioning.Corner
The opposite corner horizontally.
|
code » | ||||||||||
![]()
Returns the corner opposite the given one vertically.
Arguments:
Returns: goog.positioning.Corner
The opposite corner vertically.
|
code » | ||||||||||
![]()
Returns an absolute corner (top/bottom left/right) given an absolute
or relative (top/bottom start/end) corner and the direction of an element.
Absolute corners remain unchanged.
Arguments:
Returns: goog.positioning.Corner
Effective corner.
|
code » | ||||||||||
Calculates the page offset of the given element's
offsetParent. This value can be used to translate any x- and
y-offset relative to the page to an offset relative to the
offsetParent, which can then be used directly with as position
coordinate for
positionWithCoordinate .
Arguments:
Returns: !goog.math.Coordinate
The page offset, may be (0, 0).
|
code » | ||||||||||
Returns intersection of the specified element and
goog.style.getVisibleRectForElement for it.
Arguments:
Returns: !goog.math.Rect
Intersection of getVisibleRectForElement
and the current bounding rectangle of the element. If the
intersection is empty, returns the bounding rectangle.
|
code » | ||||||||||
![]()
Positions a movable element relative to an anchor element. The caller
specifies the corners that should touch. This functions then moves the
movable element accordingly.
Arguments:
Returns: goog.positioning.OverflowStatus
Status bitmap,
.
|
code » | ||||||||||
![]()
Positions the specified corner of the movable element at the
specified coordinate.
Arguments:
Returns: goog.positioning.OverflowStatus
Status bitmap.
|
code » |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » |