Angular 4: setting the local variable # dynamically

后端 未结 3 1351
情书的邮戳
情书的邮戳 2020-12-09 11:24

Is there a way to dynamically set the #id, the HTML attribute that angular uses to construct the @ViewChild element reference?

Specific need: i have the following te

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-09 11:59

    You can use like this code:

    • {{item.xyz}}

    Look this question: enter link description here

提交回复
热议问题