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
'Develop > JavaScript' 카테고리의 다른 글
New Features in ES6 (0) | 2019.03.15 |
---|---|
Calculate Date (0) | 2018.12.24 |
[JavaScript] Post 날리기 (0) | 2013.02.07 |
[Cygwin] 국내 url (0) | 2012.04.27 |
[JavaScript] 날짜로 요일 알아내는 함수 (0) | 2012.04.27 |