in Angular by
Q:
What is ViewEncapsulation and how many ways are there do to do it in Angular?

1 Answer

0 votes
by

To put simply, ViewEncapsulation determines whether the styles defined in a particular component will affect the entire application or not. Angular supports 3 types of ViewEncapsulation:

Emulated – Styles used in other HTML spread to the component

Native – Styles used in other HTML doesn’t spread to the component

None – Styles defined in a component are visible to all components of the application

Related questions

0 votes
asked Oct 26, 2020 in Data Handling by AdilsonLima
+1 vote
asked Jul 5 in Angular by sharadyadav1986
...