Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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
3+6 =