Answers for "angular add class if condition is true"

CSS
2

ngclass condition

[ngClass]="{'my-class': step === 'step1'}"
Posted by: Guest on March-15-2021
0

add classon ng if

[ngClass]="{'my-class': step === 'step1'}"
Posted by: Guest on June-11-2020

Code answers related to "angular add class if condition is true"

Browse Popular Code Answers by Language