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

▼ Show 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

Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Jun 9, 2020 in C Plus Plus by Robindeniel
...