Web features explorer

Intersection observer

Widely available since 2021-09-25
Tags: api

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)