SyntaxFix
Write A Post
Hire A Developer
Questions
Use it this way:
<div [ngClass]="{cssClass A: condition 1, cssClass B: condition 2, cssClass C: condition 3}">...</div>