IntersectionObserverEntry class

The interface of the Intersection Observer API describes the intersection between the target element and its root container at a specific moment of transition. Instances of are delivered to an IntersectionObserver callback in its entries parameter; otherwise, these objects can only be obtained by calling IntersectionObserver.takeRecords().

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

IntersectionObserverEntry(IntersectionObserverEntryInit intersectionObserverEntryInit)
factory

Properties

boundingClientRect DOMRectReadOnly

Available on IntersectionObserverEntry, provided by the PropsIntersectionObserverEntry extension

no setter
hashCode int
The hash code for this object.
no setterinherited
intersectionRatio double

Available on IntersectionObserverEntry, provided by the PropsIntersectionObserverEntry extension

no setter
intersectionRect DOMRectReadOnly

Available on IntersectionObserverEntry, provided by the PropsIntersectionObserverEntry extension

no setter
isIntersecting bool

Available on IntersectionObserverEntry, provided by the PropsIntersectionObserverEntry extension

no setter
rootBounds DOMRectReadOnly?

Available on IntersectionObserverEntry, provided by the PropsIntersectionObserverEntry extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target Element

Available on IntersectionObserverEntry, provided by the PropsIntersectionObserverEntry extension

no setter
time double

Available on IntersectionObserverEntry, provided by the PropsIntersectionObserverEntry extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited