GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for IntersectionObserverEntry: boundingClientRect property.

Developer library 6

IntersectionObserverEntry

Intersection Observer API The **`IntersectionObserverEntry`** interface of the [Intersection Observer API](/docs/Web/API/Intersection_Observer_API) describes the intersection between the target element and its root container at a specific moment of transition. Instances of `IntersectionObserverEntry` are delivered to an IntersectionObserver callback in its `entries` parameter; otherwise, these objects can only be o

IntersectionObserverEntry: IntersectionObserverEntry() constructor

Intersection Observer API The **`IntersectionObserverEntry()`** constructor creates and returns a new IntersectionObserverEntry object. > [!NOTE] > In typical usage, you don't need to call this constructor yourself. `IntersectionObserverEntry` objects are created automatically by the browser and delivered to the IntersectionObserver callback when an intersection is observed, or returned by IntersectionObserver.take

IntersectionObserverEntry: intersectionRect property

Intersection Observer API The **`intersectionRect`** read-only property of the IntersectionObserverEntry interface is a DOMRectReadOnly object which describes the smallest rectangle that contains the entire portion of the target element which is currently visible within the intersection root. ## Value A DOMRectReadOnly which describes the part of the target element that's currently visible within the root's inters

IntersectionObserverEntry: boundingClientRect property

Intersection Observer API The **`boundingClientRect`** read-only property of the IntersectionObserverEntry interface returns a DOMRectReadOnly which in essence describes a rectangle describing the smallest rectangle that contains the entire target element. ## Value A DOMRectReadOnly which describes the smallest rectangle that contains every part of the target element whose intersection change is being described. T

IntersectionObserverEntry: intersectionRatio property

Intersection Observer API The **`intersectionRatio`** read-only property of the IntersectionObserverEntry interface 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. ## Value A number between 0.0 and 1.0 which indicates how much of the target element is actually visible within the root's intersection rectangle. More precisely, this v

Intersection Observer API

a [`delay`](#delay) should also be set. #### Intersection change callbacks The callback passed to the `IntersectionObserver()` constructor receives a list of IntersectionObserverEntry objects and the observer: ```js const callback = (entries, observer) => { entries.forEach((entry) => { // Each entry describes an intersection change for one observed // target element: // entry.boundingClientRect

JSON results · Services directory