Categories

Jan 6 in Angular

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

1 Answer

Jan 6

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

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

Madanswer
Sep 21 in Angular
Jan 15 in Angular
Jul 8 in Sql
...