A panel that sticks to the given element.
Variable for the left position.
Variable for the right position.
The content to position.
The element to position against.
The offset of the panel.
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.
z-index of the panel.
Calculates the position from the dimensions of the panel and element.
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.