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

1 Answer

0 votes

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 Jul 25, 2021 in Tableau The Sequel by SakshiSharma
0 votes
asked Sep 21, 2020 in Angular by JackTerrance
0 votes
asked Sep 26, 2019 in Salesforce by Robin