IntersectionObserver constructor

IntersectionObserver(
  1. IntersectionObserverCallback callback, [
  2. IntersectionObserverInit? options
])

Implementation

factory IntersectionObserver(
  _i3.IntersectionObserverCallback callback, [
  _i3.IntersectionObserverInit? options,
]) =>
    _i4.callConstructor(
      _declaredIntersectionObserver,
      [
        callback,
        options ?? _i6.undefined,
      ],
    );