Answers for "angular set style based on condition"

6

conditional style angular

<div [ngStyle]="{'color':employee.country === 'India' ? 'orange' : 'red' }"></<div>
Posted by: Guest on October-18-2020

Code answers related to "angular set style based on condition"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language