IntersectionObserver class

Annotations
  • @Native("IntersectionObserver")

Constructors

IntersectionObserver(IntersectionObserverCallback callback, [Map? options])
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
root Element?
read-only
rootMargin String?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
thresholds List<num>?
read-only

Methods

disconnect() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(Element target) → void
takeRecords() List<IntersectionObserverEntry>
toString() String
A string representation of this object.
inherited
unobserve(Element target) → void

Operators

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