-
<static> create(element) → {Sticky}
-
Creates an instance of Sticky
Parameters:
Name |
Type |
Description |
element |
|
|
- Source:
Returns:
-
Type
-
Sticky
-
<private> _init(element) → {Sticky}
-
Constructor method
Parameters:
Name |
Type |
Description |
element |
HTMLElement
|
|
- Source:
Returns:
-
Type
-
Sticky
-
<private> _setBoundingBoxHeight()
-
Saves element's bounding box height to an instance property so that it is not
calculated on every PositionSticky#_update.
- Source:
-
<private> _setElementWidth()
-
Applies element's computed width to its inline styling so that when the element
is positioned absolutely or fixed it doesn't lose its shape
- Source:
-
refresh()
-
Re-measures element's boundingBoxHeight. It is called
from PositionSticky#refresh.
- Source: