Open ash123mani opened 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():
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():