Answers for "[ngclass] in angular using more then 3 conditions"

2

ngclass condition

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

ngclass condition

[ngClass]="(step=='step1')?'my-class1':'my-class2'"
Posted by: Guest on October-16-2020

Code answers related to "[ngclass] in angular using more then 3 conditions"

Browse Popular Code Answers by Language