anchorElement
: Element
Element the movable element should be
anchored against.
|
corner
: goog.positioning.Corner
Corner of anchored element the
movable element should be positioned at.
|
opt_adjust
: boolean=
Whether the positioning should be adjusted until
the element fits inside the viewport even if that means that the anchored
corners are ignored.
|
opt_resize
: boolean=
Whether the positioning should be adjusted until
the element fits inside the viewport on the X axis and its height is
resized so if fits in the viewport. This take precedence over opt_adjust.
|
![]()
Adjusts the corner if X or Y positioning failed.
Arguments:
Returns: goog.positioning.Corner
The adjusted corner.
|
code » | |||||
No description.
Returns: number
A bitmask for the "last resort" overflow.
|
code » | |||||
No description.
Returns: goog.math.Box | undefined
The box object describing the
dimensions in which the movable element will be shown.
|
code » | |||||
![]()
Repositions the movable element.
Arguments:
|
code » | |||||
![]()
No description.
Arguments:
|
code » | |||||
![]()
No description.
Arguments:
|
code » |
![]()
Repositions the movable element.
Arguments:
|
code » |
![]()
Repositions the element. Abstract method, should be overloaded.
Arguments:
|
code » |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » | |
![]()
The last resort algorithm to use if the algorithm can't fit inside
the viewport.
IGNORE = do nothing, just display at the preferred position.
ADJUST_X | ADJUST_Y = Adjust until the element fits, even if that means
that the anchored corners are ignored.
|
Code » | |
The dimensions in which the movable element could be shown.
|
Code » |
![]()
No description.
|
Code » |