A ponyfill based on the w3c/IntersectionObserver polyfillThis module will help you get to use the goodness of Intersection Observer without affecting builtins. The name is a playful contraction of Intersection Observer to inte-obs ˈɪnˌtɛ-əbz (first part in swedish meaning not - and then "obs" - so "not-observer").
Install``` npm install inteobs ```
UsageThe default export of the package is either a reference to the native
window.IntersectionObserver- or a js implementation of it: ``` import IntersectionObserver from "inteobs"; ```
CaveatsOne difference between this module and the official polyfill is that - due to being a ponyfill - a missing property in Edge 15 (
isIntersecting) cannot be patched. However - the property in question is not at all essential for Intersection Observer to work (it can be worked around).