Hope you are keeping well 🙂 In this short post I will be talking about Angular 7’s built in attribuite directives. Most commonly used Angular 7’s built in attribute directives are,
- NgClass – is used to add or remove a class or set of css classes
- NgStyle – is used to add or remove a HTML style or set of HTML styles
- NgModel – two-way data binding to an HTML form element
Let’s take a look at individual item in detail.