Angular change ngClass based on key value

前端 未结 0 1749
终归单人心
终归单人心 2020-11-29 08:16

I want to change the color of a button based on the current looping items key So if the current items looping variable is name then it should be btn-primary, but for all oth

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