0 votes
in Angular by
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 Jul 25, 2021 in Tableau The Sequel by SakshiSharma
+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
...