AngularJS 2 has the ability to use the native shadow DOM, which is part of the web components during installation encapsulation: ViewEncapsulation.Native, as I understand it ...
But this gives a few questions:
- When
encapsulation: ViewEncapsulation.Nativewill it return to ViewEncapsulation.Emulatedwhen the browser does not support the Shadow DOM? - Can polyfill web components be used if the browser does not support the Shadow DOM and is installed
encapsulation: ViewEncapsulation.Native?
source
share