Intersection observer
Widely available since 2021-09-25
The Intersection Observer API asynchronously observes changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 58 Released on 2017-04-19
- Chrome Android 58 Released on 2017-04-25
- Edge 16 Released on 2017-10-17
- Firefox 55 Released on 2017-08-08
- Firefox for Android 55 Released on 2017-08-08
- Safari 12.1 Released on 2019-03-25
- Safari on iOS 12.2 Released on 2019-03-25
Specifications
- Intersection Observer, from Web Applications Working Group (W3C).