How do I use ViewChild instead of querySelector in Angular?

前端 未结 0 845
被撕碎了的回忆
被撕碎了的回忆 2021-02-12 12:26

I am new to Angular. I used querySelector to scroll to a particular fragment in a component. But it behaves differently in different browsers. I found out that if I rewrite the

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