@yesstudio/nuxt-composables
    Preparing search index...

    Interface IntersectionObserverEntry

    The IntersectionObserverEntry interface of the Intersection Observer API 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 | null;
        target: Element;
        time: number;
    }
    Index

    Properties

    boundingClientRect: DOMRectReadOnly

    The IntersectionObserverEntry interface's read-only boundingClientRect property returns a smallest rectangle that contains the entire target element.

    MDN Reference

    intersectionRatio: number

    The IntersectionObserverEntry interface's read-only intersectionRatio property tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0.

    MDN Reference

    intersectionRect: DOMRectReadOnly

    The IntersectionObserverEntry interface's read-only intersectionRect property is a contains the entire portion of the target element which is currently visible within the intersection root.

    MDN Reference

    isIntersecting: boolean

    The IntersectionObserverEntry interface's read-only isIntersecting property is a Boolean value which is true if the target element intersects with the intersection observer's root.

    MDN Reference

    rootBounds: DOMRectReadOnly | null

    The IntersectionObserverEntry interface's read-only rootBounds property is a rectangle, offset by the IntersectionObserver.rootMargin if one is specified.

    MDN Reference

    target: Element

    The IntersectionObserverEntry interface's read-only target property indicates which targeted root.

    MDN Reference

    time: number

    The IntersectionObserverEntry interface's read-only time property is a change occurred relative to the time at which the document was created.

    MDN Reference