IntersectionObserver class final
Constructors
-
IntersectionObserver({JsWrapper<
JSObject> ? root, String rootMargin = '0px', String scrollMargin = '0px', List<double> threshold = const <double>[]}) -
factory
- IntersectionObserver.fromJsObject(IntersectionObserver jsObject)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsObject → IntersectionObserver
-
The wrapped JavaScript object.
finalinherited
-
onIntersection
→ Stream<
IntersectionObserverEntry> -
no setter
-
root
→ Node<
Node> ? -
latefinal
- rootMargin → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollMargin → String
-
no setter
-
thresholds
→ List<
double> -
latefinal
Methods
-
disconnect(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observe(
Element< Element> target) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unobserve(
Element< Element> target) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited