Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ng class in angular

[ngClass]="{'text-success':person.country === 'UK'}"
 
PREVIOUS NEXT
Tagged: #ng #class #angular
ADD COMMENT
Topic
Name
9+6 =