DOMElement constructor
parameters used to create our DOMElement
The HTML element to track
Priority at which this element onSizeChanged function must be called
Flag indicating whether the timeout is still running and we should avoid a new computation
Callback to run whenever the element size changed
Callback to run whenever the element size changed
Callback to run whenever the element position changed
Callback to run whenever the element position changed
The ResizeManager used, basically a wrapper around a ResizeObserver
Current element bounding rectangle
Get our element bounding rectangle
Set our element bounding rectangle
new bounding rectangle
Check whether 2 bounding rectangles are equals
first bounding rectangle
second bounding rectangle
Update our element bounding rectangle because the scroll position has changed
scroll delta values along X and Y axis
Set our element bounding rectangle, either by a value or a getBoundingClientRect call
new bounding rectangle
Used to track a DOM Element size and position by using a resize observer provided by ResizeManager.
Execute callbacks when the bounding rectangle of the DOM Element changes, which means when its size and/or position change.