Intersection observer visibility tracking
Limited availability
The trackVisibility
parameter for the IntersectionObserver
constructor enables tracking the visibility of an element, to detect if it may be obscured by other content or visual effects. Also known as IntersectionObserver v2.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 74 Released on 2019-04-23
- Chrome Android 74 Released on 2019-04-24
- Edge 79 Released on 2020-01-15
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌