Results 1 - 2 of 2

Intersection Observer API

The Intersection Observer API allows you to configure a callback that is called whenever one item, called a target, intersects either the device viewport or a specified element called, for the purpose of this API, the root element. Create the intersection observer by calling its constructor and passing it a reference to the callback function.
API Intersection Observer API IntersectionObserver Landing Overview Reference