Answers for "angularjs ng-class"

0

ng class in angular

[ngClass]="{'text-success':person.country === 'UK'}"
Posted by: Guest on May-01-2021
0

ng class in angular

[class.my_class] = "step === 'step1'"
Posted by: Guest on April-27-2021
-2

ng class in angular

<div *ngFor="let item of items">{{item}}</div>
Posted by: Guest on May-01-2021

Browse Popular Code Answers by Language