Closed cgatian closed 7 years ago
ngStyle generates:
[ngStyle]="{style: preference"
Looks like it's missing the closing brace, and as a suggestion the style property should be in single quotes:
[ngStyle]="{'style': preference}"
https://angular.io/docs/ts/latest/api/common/index/NgStyle-directive.html
ngStyle generates:
[ngStyle]="{style: preference"
Looks like it's missing the closing brace, and as a suggestion the style property should be in single quotes:
[ngStyle]="{'style': preference}"
https://angular.io/docs/ts/latest/api/common/index/NgStyle-directive.html