IntersectionObserver class
- Annotations
- @DocsEditable()
- @DomName('IntersectionObserver')
- @Experimental()
- @Native("IntersectionObserver")
Constructors
- IntersectionObserver(IntersectionObserverCallback callback, [ Map options ])
-
factory
Properties
- root → Element
-
@DocsEditable(), @DomName('IntersectionObserver.root'), @Experimental(), final
- rootMargin → String
-
@DocsEditable(), @DomName('IntersectionObserver.rootMargin'), @Experimental(), final
-
thresholds
→ List<
num> -
@DocsEditable(), @DomName('IntersectionObserver.thresholds'), @Experimental(), final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
disconnect(
) → void -
@DocsEditable(), @DomName('IntersectionObserver.disconnect'), @Experimental()
-
observe(
Element target) → void -
@DocsEditable(), @DomName('IntersectionObserver.observe'), @Experimental()
-
takeRecords(
) → List< IntersectionObserverEntry> -
@DocsEditable(), @DomName('IntersectionObserver.takeRecords'), @Experimental()
-
unobserve(
Element target) → void -
@DocsEditable(), @DomName('IntersectionObserver.unobserve'), @Experimental()
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited