Answer the question
In order to leave comments, you need to log in
How to understand style encapsulation?
Please help me write a case study so that you can see the effect and benefits of style encapsulation. My version is here . Here the problem is that it is not clear what action the metaargument performs. encapsulation: ViewEncapsulation.None,
There is a root element and there is a nested element. In each of them, I turned off encapsulation, but as a result, the styles from the first are applied to both. Where is the logic?
Couldn't the benefits of using ViewEncapsulation be more clearly shown in the case of nested elements?
Answer the question
In order to leave comments, you need to log in
Please help me write a case study so that you can see the effect and benefits of style encapsulation. My version is here .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question