What is View Encapsulation in Angular | View Encapsulation | Angular 12+

  Рет қаралды 40,855

procademy

procademy

Күн бұрын

The View Encapsulation is a concept or behaviour in angular, where component CSS styles are encapsulated into the components view and do not effect the rest of the application .
It defines how the styles specified in the template affects the other parts of the application. The angular uses three types of View Encapsulation, while rendering the view:
1. ViewEncapsulation.Emulated
2. ViewEncapsulation.ShadowDOM
3. ViewEncapsulation.None
In this lecture you will learn what is View Encapsulation using an example and how it is implemented in angular. You will also learn what is shadow dom in Angular.

Пікірлер: 31
ng-content in Angular | Directives | Angular 12+
12:54
procademy
Рет қаралды 37 М.
@ViewChild in Angular | Data Binding | Angular 12+
19:41
procademy
Рет қаралды 47 М.
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 7 МЛН
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 41 МЛН
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Funny superhero siblings
Рет қаралды 4,5 МЛН
Angular Life Cycle Hooks | Lifecycle Hooks | Angular 12+
18:47
What is Observable | Observables | Angular 12+
14:16
procademy
Рет қаралды 155 М.
View Encapsulation - How it works! | Crack Angular Interview
5:43
Web Tech Talk
Рет қаралды 10 М.
Subjects in RxJS | Observables | Angular 12+
16:14
procademy
Рет қаралды 55 М.