Answers for "ng-style change background color"

6

ngstyle

<div [ngStyle]="{'background-color':person.country === 'UK' ? 'green' : 'red' }"></<div>
Posted by: Guest on August-08-2020

Code answers related to "ng-style change background color"

Browse Popular Code Answers by Language