In this article, we will see the String Interpolation, ngStyle, ngClass in Angular 7.0. In this article, we will see the creation of angular component and we will see how we can use String interpolation, setting a background color using ngStyle and setting a foreground color using ngClass based on some condition.
source https://www.c-sharpcorner.com/article/string-interpolation-ngstyle-ngclass-in-angular-7-0/
No comments:
Post a Comment