Intersection Observer Entry
Properties
Link copied to clipboard
Returns the bounds rectangle of the target element as a DOMRectReadOnly. The bounds are computed as described in the documentation for Element.getBoundingClientRect().
Link copied to clipboard
Returns the ratio of the intersectionRect to the boundingClientRect.
Link copied to clipboard
Returns a DOMRectReadOnly representing the target's visible area.
Link copied to clipboard
A Boolean value which is true if the target element intersects with the intersection observer's root. If this is true, then, the IntersectionObserverEntry describes a transition into a state of intersection; if it's false, then you know the transition is from intersecting to not-intersecting.
Link copied to clipboard
Returns a DOMRectReadOnly for the intersection observer's root.