Angular 8 ngclass jika
[ngClass]="{'my-class': step=='step1'}"
GrepperFoo69
[ngClass]="{'my-class': step=='step1'}"
<i [class]="user.login_status == 1 ? 'fas fa-circle user_active' : 'fas fa-circle user_inactive'" aria-hidden="true"></i>
[class.my-class]="step === 'step1'"
[ngClass]="{'my-class': step=='step1', 'my-class2':step=='step2' }"
[ngClass]="{1:'my-class1',2:'my-class2',3:'my-class4'}[step]"