• +91 9723535972
  • info@interviewmaterial.com

Angular Interview Questions and Answers

Related Subjects

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

Answer -

To put it 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 don’t spread to the component.
  • None: Styles defined in a component are visible to all components of the application.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners