Answers for "ngif div include class"

3

Angular 8 ngClass If

[ngClass]="{'my-class': step=='step1'}"
Posted by: Guest on February-28-2020
0

angular if in class

[ngClass]="step == 'step1' ? 'my_class1' : 'my_class2'"
Posted by: Guest on November-20-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language