Develop/JavaScript

IntersectionObserver

시크라기 2019. 9. 27. 15:08

We can handle the element impressions using IntersectionObserver API.
But this API is not supported some browsers like IE.

But we can use this API in more browsers using with IntersectionObserver polifill.
But this is not covered all browser. This polifill supports below..

  • Chrome
  • Firefox
  • Safari 6+
  • Edge
  • Internet Explorer 7+
  • Opera
  • Android 4.4+

You can see the manual in Intersection Observer API.
And you can find the support tables in CanIUse