ash123mani / falak-comments

0 stars 0 forks source link

Falak - A curated list of blogs about front-end web development #15

Open ash123mani opened 1 year ago

ash123mani commented 1 year ago

https://falak.netlify.app/blog/intersection-oberver

When the browser detects that the target element (in our case, the one with the ID "box") has been unveiled or obscured such that its visibility ratio crosses one of the thresholds in our list, it calls our handler function, handleIntersect():