Answers for "how to add class to element based on if condition angular"

CSS
0

add classon ng if

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

Code answers related to "how to add class to element based on if condition angular"

Browse Popular Code Answers by Language