A

Admin • 833.24K Points
Coach

Q. What is ViewEncapsulation in Angular?

  • (A) It determines how styles are applied to components
  • (B) It controls DOM rendering
  • (C) It prevents XSS attacks
  • (D) It hides variables from templates
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

ViewEncapsulation controls whether component styles are scoped or global.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.