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!

angular components ViewEncapsulation Shadow DOM

How Angular Encapsulates Styles using ViewEncapsulation ?

This tutorial guides you on how angular encapsulates styles using ViewEncapsulation. In order to understand ViewEncapsulation in Angular, you need to understand Shadow DOM technology. Let’s see in more detail about Shadow DOM technology and ViewEncapsulation in Angular with example.