0 votes
in Angular by
What is ViewEncapsulation?

1 Answer

0 votes
by
ViewEncapsulation decides whether the styles defined in a component can affect the entire application or not. There are three ways to do this in Angular:

Emulated: styles from other HTML spread to the component.

Native: styles from other HTML do not spread to the component.

None: styles defined in a component are visible to all components.

Related questions

0 votes
asked Feb 24 in Angular by SakshiSharma
0 votes
asked Feb 24 in Angular by SakshiSharma
...