Answers for "angular 10 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

Browse Popular Code Answers by Language