Interface IntersectionObserverEntry

    This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition.

    MDN Reference

    interface IntersectionObserverEntry {
        boundingClientRect: DOMRectReadOnly;
        intersectionRatio: number;
        intersectionRect: DOMRectReadOnly;
        isIntersecting: boolean;
        rootBounds: DOMRectReadOnly;
        target: Element;
        time: number;
    }

    Properties

    boundingClientRect: DOMRectReadOnly
    intersectionRatio: number
    intersectionRect: DOMRectReadOnly
    isIntersecting: boolean
    rootBounds: DOMRectReadOnly
    target: Element
    time: number