ViewEncapsulation
enum
Defines the CSS styles encapsulation policies for the Component decorator's
encapsulation option.
API
Description
enum ViewEncapsulation {}
Emulated
None
ShadowDom
Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates a ShadowRoot for the component's host element which is then used to encapsulate all the Component's styling.
Jump to details

