I'm using the [class.*]
syntax to apply classes conditionally.
I've found myself wanting to always apply a class.
My current code is as follow:
[class.general]="true"
[class.new]="model.isNew"
[class.edited]="model.isEdited"
The [class.general]="true"
is a bit weird and feels like an hack. Is there a standard/better way to have a fixed class while also using conditionals for other classes?