What's the benefit of using jQuery offset over getBoundingClientRect

前端 未结 0 1360
醉话见心
醉话见心 2021-02-10 05:54

Through testing, I am seeing a slight performance issue with using the following (especially on older browsers) - with many operations a second:

elX = $(el).offse         


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