3 ms·
Or “is an element within viewport”, we now have IntersectionObserver for that sort of stuff. I guess it could be combined with the rects but if I remember cor
by Kailhus 3y ago
Or “is an element within viewport”, we now have IntersectionObserver for that sort of stuff.
I guess it could be combined with the rects but if I remember correctly, the logic would fail if the element was bigger than the viewport.