Compute the box sizing for an element.
The element of interest.
The box sizing data for the specified element.
Test whether a client position lies within an element.
The DOM element of interest.
The client X coordinate of interest.
The client Y coordinate of interest.
Whether the point is within the given element.
Vertically scroll an element into view if needed.
The scroll area element.
The element of interest.
This follows the "nearest" behavior of the native scrollIntoView
method, which is not supported by all browsers.
https://drafts.csswg.org/cssom-view/#element-scrolling-members
If the element fully covers the visible area or is fully contained within the visible area, no scrolling will take place. Otherwise, the nearest edges of the area and element are aligned.
Compute the size limits for an element.
The element of interest.
The size limit data for the specified element.
Generated using TypeDoc
The namespace for element related utilities.