Function inView

    • Reactive boolean; true while el intersects the viewport. Seeded synchronously from rect, then maintained by IntersectionObserver.

      Parameters

      • el: Element
      • Optionalopts: IntersectionObserverInit

      Returns Cell<boolean>