What is Angular's default style encapsulation mechanism called?

Tests if you know Angular's default view encapsulation. A strong answer names ViewEncapsulation.Emulated, describes the unique attribute selector rewrite, and warns that global styles still pierce inward.
This question tests whether you can name and explain Angular's default style scoping mechanism without hand-waving. A good answer identifies ViewEncapsulation.Emulated as the default, explains that Angular generates a unique HTML attribute per component and rewrites the component's CSS selectors to include it, and clarifies that this prevents outward leakage but does not block global styles from entering. Red flag: confusing Emulated with ShadowDom, omitting the attribute-rewriting detail, or stating that styles are fully isolated.
Read the original → angular.dev
- #angular
- #view-encapsulation
- #styling
- #components
- #css-scoping
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.