Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

ngclass two classes one conditions

[ngClass]="[ mainIMG.touched && !mainIMG.valid? 
			'class1 class2':
            'class3 class2' ]"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ngclass #classes #conditions
ADD COMMENT
Topic
Name
6+4 =