Angular: How to conditionaly add an attribute in the template after checking if a variable is defined?

前端 未结 0 1026
盖世英雄少女心
盖世英雄少女心 2020-12-04 18:58

How to conditionaly add an attribute in the template after checking if a variable is defined? I want to add an attribute with the variable value to an HTML tag, but this var

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