What is shadow dom?
Answer / Swarn Kant Gautam
Shadow DOM is a web standard that allows encapsulation of HTML, CSS, and JavaScript within an HTML element. It creates a new scope for styles and behaviors, isolating them from the rest of the page. This helps to prevent naming collisions and improves performance by reducing specificity issues in styling.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is namespace called "ng"?
Explain ng-model directive angularjs?
Explain $scope in angular?
What is a scope in a project?
What is primeng? How can it be used with angular 2?
How AngularJS handle data binding?
When should we use angular?
What is zone in angular?
Enlist major matchers available in jasmine?
What is interceptor in angularjs?
Write all the steps to configure an angular app(ng-app).
What do you mean by module in angular 2?