Pages
Ui.StickyPanel
A panel that sticks to the given element.
States
Variable for the left position.
Variable for the right position.
Properties
The content to position.
The element to position against.
The offset of the panel.
If true
, pointer events will pass through the panel.
The position of the panel.
A flag that decides if the position should be calculated on animation frames.
The z-index
of the panel.
Functions
calculatePosition
(
position
:
Ui.Position
dimensions
:
Dom.Dimensions
panel
:
Dom.Dimensions
)
:
Dom.Dimensions
Calculates the position from the dimensions of the panel and element.
Renders the element and the panel.
Calculates the position of the panel.