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

Поділитися
Вставка
  • Опубліковано 2 лют 2022
  • 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.

КОМЕНТАРІ • 28

  • @PierreChevallier
    @PierreChevallier 27 днів тому +2

    Thank you sooo much your video is very clear!

  • @shubhammalikofficial
    @shubhammalikofficial 2 роки тому +11

    Most of the videos I have seen only show how to achieve ViewEncapsulation of None and Emulated but you also demonstrated the working of ShadowDom. Really liked the video, keep up the good work.

  • @jjuliefrance
    @jjuliefrance Рік тому +6

    I watched a lot of tutorial videos and thought I covered the basics of Angular. I even often tried to reproduce with Native JS the behaviors (two way binding) or the rendering (with template attribute or web components) to get an idea of ​​what was going on under the hood. But I just discovered your channel and I can't believe it. Each chapter is a master class. They are the best ever. And your English, for a French woman, is super pleasant to listen to and makes me progress too. A thousand times thank you.

  • @sj1997
    @sj1997 Рік тому +3

    bhai itne achhe videos bnaye hai apne i cant thank you more sir i was able to crack many interview only coz of your videos all the very best aap hero ho sir angular ke youtube pe i hope your channel will cross millions

  • @pradeepmallisetty5146
    @pradeepmallisetty5146 Рік тому +3

    your one who explain the concept perfectly & clearly.
    Best thing in the video your telling, what is the use of view encapsulation feature
    explanation out of box

  • @Aliana9603
    @Aliana9603 2 місяці тому

    Thanks 😊
    Very clearly explained with the explanations and examples

  • @mohammedabdulaziz3658
    @mohammedabdulaziz3658 2 роки тому +6

    Clear Crystal Explanation sir thanks

  • @mehabhandari6232
    @mehabhandari6232 7 місяців тому

    Easy to understand example with great explanation.

  • @mdmerajpasha6303
    @mdmerajpasha6303 Рік тому +2

    Out of box explanation. Keep going thanks a lot for this amazing content 😊.

  • @chrisnortombeau3198
    @chrisnortombeau3198 11 місяців тому

    Good Job
    you are a good professor

  • @Autumn-jz8bw
    @Autumn-jz8bw Рік тому

    Wow first time I really get this and I've been working with Angular for so long.

  • @shibiruararso3558
    @shibiruararso3558 Рік тому +1

    Thank you brother! Amazing explanation

  • @sona4612
    @sona4612 Рік тому

    Wow🔥🔥🔥.. Thank you so much for the crystal clear explanation...

  • @anushkapawar2149
    @anushkapawar2149 2 роки тому +1

    Great Explanation!!

  • @rameshgunda4397
    @rameshgunda4397 Рік тому +1

    Mast explanation saaaarrr!!

  • @dnguyendev
    @dnguyendev Рік тому +2

    Brilliant explanation. The entire angular playlist has helped me tremendously in learning Angular. Thank you for sharing it for free!

  • @muhammaddevanozaidan6837
    @muhammaddevanozaidan6837 Рік тому

    very clear explanation thankyou

  • @chamaradissanayake2097
    @chamaradissanayake2097 Рік тому

    Well explained. Thank you

  • @10224206
    @10224206 2 роки тому +1

    Very nice explanation

  • @meysam8357
    @meysam8357 2 роки тому

    thank you great tutorial

  • @hamzanouh9153
    @hamzanouh9153 Рік тому

    great explanation

  • @avanishkumar1689
    @avanishkumar1689 9 місяців тому +1

    tysm well explained...

  • @rahulrahul6259
    @rahulrahul6259 6 місяців тому

    Thanks

  • @virajjoshi7569
    @virajjoshi7569 Рік тому +1

    I wanted to know if I use View encapsulation as None, styles get applied to all components. But if my that components gets destroyed what will happen to that styles.
    Thank you ☺️

  • @srinivasneelamraju6503
    @srinivasneelamraju6503 Рік тому

    This concept has lot of issues. In your video also after applied i styles n global file if i want add styles in app component, those style will override all the styles including global styles also.

  • @MrDeni23n
    @MrDeni23n Рік тому

    "Damn the man"- ShadowDom probably 😄

  • @chiragsheth2263
    @chiragsheth2263 Рік тому +1

    Nice explanation

  • @othanhtung4987
    @othanhtung4987 Рік тому

    Thanks