What's the benefit of using jQuery offset over getBoundingClientRect

前端 未结 0 2008
长情又很酷
长情又很酷 2021-02-10 06:00

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         


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