Intersection Observer watches element appearance in the viewport or another element.
It's useful for...
MDN guide to IntersectionObserver.