Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ngclass stackoverflow

<div [ngClass]="condition1 ? 'class1' : 'class2' " ></div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ngclass #stackoverflow
ADD COMMENT
Topic
Name
5+9 =