Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ngclass condition

[ngClass]="{'my-class': step === 'step1'}"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ngclass #condition
ADD COMMENT
Topic
Name
7+7 =