How to directly use a prop with ngClass in Angular 8?

后端 未结 0 1981
南笙
南笙 2021-01-07 22:22

I am trying to style my component directly based off props, but am unsure how to do it directly with ngClass. Simple representative example below:

HTML (Parent)

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