Answers for "class angular condition"

2

ngclass condition

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

Angular 8 ngClass If

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

Angular 8 ngClass If

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

angular conditional class

<button [class.disable]="1==1">Apply disable class when condition is true</button>
Posted by: Guest on September-22-2021
1

Angular 8 ngClass If

[class.my-class]="step=='step1'"
Posted by: Guest on February-28-2020

Browse Popular Code Answers by Language