Query Dom element (DIV id or class) In Angular but without @ViewChild

前端 未结 0 1244
野性不改
野性不改 2021-02-01 19:50

I want to query a dom element in Angular, I can\'t use @ViewChild decorator as the html is rendered through another widget. So I want to do something like:

let ta         


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