feat(core): add support for ShadowDOM v1 (#24718)

add a new ViewEncapsulation.ShadowDom option that uses the v1 Shadow DOM API to provide style encapsulation.

PR Close #24718
This commit is contained in:
Rob Wormald
2018-06-28 12:42:04 -07:00
committed by Miško Hevery
parent 1ae3f87383
commit 3553977bd7
8 changed files with 198 additions and 8 deletions

View File

@ -75,7 +75,8 @@ export interface Component extends Directive {
export enum ViewEncapsulation {
Emulated = 0,
Native = 1,
None = 2
None = 2,
ShadowDom = 3
}
export enum ChangeDetectionStrategy {