Intersection observer visibility tracking
The trackVisibility
parameter for the IntersectionObserver
constructor enables tracking the visibility of an element, to detect if it may be obscured by other content or visual effects. Also known as IntersectionObserver v2.