Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Angular 8 ngClass If

[ngClass]="{1:'my-class1',2:'my-class2',3:'my-class4'}[step]"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Angular #ngClass #If
ADD COMMENT
Topic
Name
6+3 =