Why does All elements get isIntersecting true in intersectingObserver?

前端 未结 0 2018
轮回少年
轮回少年 2021-02-07 04:47

I was trying to implement lazy images using IntersectingObserver to make images only load on appearing in the viewport and here is my code

index.html

             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题