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
Calculates the position from the dimensions of the panel and element.
Returns true
if the dimensions are fully visible in the window.
TODO: Move to core.
Renders the element and the panel.
Calculates the position of the panel.