IntersectionObserver constructor
IntersectionObserver(
- IntersectionObserverCallback callback, [
- IntersectionObserverInit? options
Implementation
factory IntersectionObserver(IntersectionObserverCallback callback,
[IntersectionObserverInit? options]) =>
IntersectionObserver._(callback, options ?? undefined);