The Intersection Observer API can be used to asynchronously observe changes in the intersection of a target Element with an ancestor element (for infinite scrolling lists) or the top-level document's viewport (for 'viewability' tracking).
Specification currently under development in a Working Group
Status in Chromium
Enabled by default
Consensus & Standardization
Search tagsintersection, observer,
Last updated on 2020-11-09