Structs§
- Intersection
Observation 🔒Output - The values from computing step 2.2.4-2.2.14 in
https://w3c.github.io/IntersectionObserver/#update-intersection-observations-algo.
See
IntersectionObserver::maybe_compute_intersection_output. - Intersection
Observer 🔒 - The Intersection Observer interface
- Intersection
Observer 🔒Registration - https://w3c.github.io/IntersectionObserver/#intersectionobserverregistration
Constants§
Functions§
- compute_
the_ 🔒intersection - Compute the intersection rectangle of the target
Elementreturning the results of intersection in the coordinate space of the target’s owningDocument. Additionally, we assume that both the target and the root is connected. https://w3c.github.io/IntersectionObserver/#compute-the-intersection - intersect_
rectangle 🔒 - In terms of intersection observer, we consider zero-area rectangles as long as the area is not negative.
- parse_
a_ 🔒margin - https://w3c.github.io/IntersectionObserver/#parse-a-margin
Type Aliases§
- Intersection
Root The intersection root for an IntersectionObserver is the value of its root attribute if the attribute is non-null; otherwise, it is the top-level browsing context’s document node, referred to as the implicit root.