Angular 7 built in attribute directives

Hello all,

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,

  1. NgClass – is used to add or remove a class or set of css classes
  2. NgStyle – is used to add or remove a HTML style or set of HTML styles
  3. NgModel – two-way data binding to an HTML form element

Let’s take a look at individual item in detail.

Continue reading

Share