angular components ViewEncapsulation Shadow DOM

Differences between ViewEncapsulation.Native, ViewEncapsulation.None and ViewEncapsulation.Emulated

This tutorial guides on the differences between ViewEncapsulation.Native, ViewEncapsulation.None and ViewEncapsulation.Emulated. ViewEncapsulation defines template and style encapsulation options for Angular components. Let’s learn the differences between the three modes of ViewEncapsulation provided by Angular.

angular tutorials

Angular – Access template reference variables from component class ?

This tutorial guides you on how to access template reference variables from component class in Angular. A template reference variable is nothing but a reference to a DOM element within a template. Let’s see how to use local references in… Read More!