Loop that stops when condition is met, that sets state depending on window scroll

前端 未结 0 1789
小鲜肉
小鲜肉 2021-01-21 22:37

I managed to get an array of refs of sections on my page that looks like this:

(6) [{…}, {…}, {…}, {…}, {…}, {…}]
0: {current: div.single-section}
1: {current: di         


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