Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ng-class

<td [ngClass]="val > 10 ? 'red' : 'green'">{{ val }}</td>
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+1 =