Interface IntersectionObserverEntry
interface IntersectionObserverEntry {
boundingClientRect: DOMRectReadOnly;
intersectionRatio: number;
intersectionRect: DOMRectReadOnly;
isIntersecting: boolean;
rootBounds: DOMRectReadOnly;
target: Element;
time: number;
}
boundingClientRect: DOMRectReadOnly;
intersectionRatio: number;
intersectionRect: DOMRectReadOnly;
isIntersecting: boolean;
rootBounds: DOMRectReadOnly;
target: Element;
time: number;
}
This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition.
MDN Reference