24. Understand View Encapsulation in Angular. Difference between Emulated, None, and Shadow Dom.

24. Understand View Encapsulation in Angular. Difference between Emulated, None, and Shadow Dom.

Leela Web Dev

4 года назад

29,355 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Aaaaa_kkkk
@Aaaaa_kkkk - 08.10.2020 16:46

Excellent. Following all ur videos they r very helpful. Thank you🙏

Ответить
@naveenkumarpulikonda1998
@naveenkumarpulikonda1998 - 30.11.2020 10:37

Nice explanation bro...

Ответить
@pusarlaaishwarya5035
@pusarlaaishwarya5035 - 01.12.2020 14:48

input output concepts is only applicable for template forms??? can we also apply it for reactive forms??

Ответить
@patrickxyascii5799
@patrickxyascii5799 - 11.01.2021 06:09

Why can’t u explain in few sentences, u r going round and round n came to the point only in the last 2 mins

Ответить
@radhakrishna3023
@radhakrishna3023 - 23.01.2021 07:14

yep this is first time to watch your videos awesome
teaching skills also fantastic

Ответить
@radhakrishna3023
@radhakrishna3023 - 23.01.2021 07:16

can you explain unit testing briefly

Ответить
@prashantjoshi4691
@prashantjoshi4691 - 26.04.2021 12:11

superb ,

Ответить
@krishnachaitanya7349
@krishnachaitanya7349 - 20.06.2021 18:56

View Encapsulation - shadow DOM
Shadow DOM is supported by default in Firefox (63 and onwards), Chrome, Opera, and Safari. The new Chromium-based Edge (75 and onwards) supports it too; the old Edge didn't.
DOM (Document Object Model)
There are some bits of shadow DOM terminology to be aware of:
Shadow host: The regular DOM node that the shadow DOM is attached to.
Shadow tree: The DOM tree inside the shadow DOM.
Shadow boundary: the place where the shadow DOM ends, and the regular DOM begins.
Shadow root: The root node of the shadow tree.

ShadowDom
Emulated
None
Limitations - There are many 3rd party libraries (or extensions) that won't work with Shadow DOM content because they were not designed to deal with it, or need some additional configuration to work with Shadow DOM.

Metadata - Metadata is used to decorate a class so that it can configure the expected behavior of the class.

Ответить
@NangalumYoutuberThaan
@NangalumYoutuberThaan - 05.07.2021 19:42

Great !

Ответить
@VENUGOPAL_0404
@VENUGOPAL_0404 - 11.08.2021 10:32

We are working in single-spa microfrontends...In one single -spa app they have added css in styles.css...when I route to that application and coming back to our application...their css getting overriden by our css...how can I achieve shadowdom in single-spa microfrontends globally...not component level

Ответить
@baskarrajagopalan7499
@baskarrajagopalan7499 - 18.08.2021 17:50

ViewEncapsulation.ShadowDom is not clear. What is that real functionality of it? Could you please explain?

Ответить
@priyasuryawanshi1143
@priyasuryawanshi1143 - 15.09.2021 21:35

I read about this...in many places but I found it difficult...
But after watching this video I am clear what is viewencapsulation
Thank you so much

Ответить
@shubhamdas9489
@shubhamdas9489 - 31.10.2021 15:12

You are very good sir ... thanks for quality content

Ответить
@meetshah5062
@meetshah5062 - 08.11.2021 09:08

Provide very good understanding of this.

Ответить
@vandanasaini3520
@vandanasaini3520 - 17.12.2021 13:24

kitini speed se bol rahe ho ap

Ответить
@sherifsamir6888
@sherifsamir6888 - 09.06.2022 19:04

thanks you so much, simply explained and to the point

Ответить
@kashifalikhan4420
@kashifalikhan4420 - 10.01.2023 10:23

BTW emulated and ShadowDom is different,

Ответить
@shivaramkrishna6583
@shivaramkrishna6583 - 17.01.2023 17:24

Very nice explanation..

Ответить
@indicprogrammer
@indicprogrammer - 25.02.2023 19:30

This was the new concept for me. as i have watched lots of angular tutorials but no one teaches this concept. thanks for creating this quality content....keep it up sir...

Ответить
@tarcisiodeoliveira1140
@tarcisiodeoliveira1140 - 31.10.2023 00:13

Thank you, for your great assistence on my education on the topic and to pronounce it with the Pos-Doc degree accent.

Ответить
@Respect_Mah_Authoritah_
@Respect_Mah_Authoritah_ - 12.03.2024 06:36

Shadow DOM is not supported by browsers? Who told you that?

Ответить
@msrasv6962
@msrasv6962 - 04.12.2024 02:16

What's the purpose of using ViewEncapsulation.None? is it for styles only? because we can use styles in global css also if it needs to be applied in all components?

Ответить

Greeting a New Dog 101 American Standard Dog Training
Я не умею просить Семейный психолог Екатерина Васильченко