@JAR19 wrote:
Am I missing something when using ngclass?
The auto text entry for *ngclass comes up with
[ngClass]=“cssClass: expression”
and not
[ngClass]="{cssClass: expression}"
and I end up adding the brackets myself. What is the best format to use?
Posts: 1
Participants: 1