How to add html tag in ternary operator angular?

后端 未结 0 933
-上瘾入骨i
-上瘾入骨i 2021-01-14 18:50

I need to set up an operator in ternary operator angular but this code doesn\'t work

{{ isTrue ? \'Add\' : \'Remove
item \' }}

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