Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Angular 8 ngClass If

[ngClass]="{'my-class': step=='step1', 'my-class2':step=='step2' }"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Angular #ngClass #If
ADD COMMENT
Topic
Name
9+2 =