fix(core): do not clear element content when using shadow dom (#24861)

PR Close #24861
This commit is contained in:
Rob Wormald
2018-07-11 15:57:27 -07:00
committed by Misko Hevery
parent 1f59f2f04d
commit 6e828bba88
6 changed files with 185 additions and 8 deletions

View File

@ -152,7 +152,9 @@ export class BaseAnimationRenderer implements Renderer2 {
this.engine.onRemove(this.namespaceId, oldChild, this.delegate);
}
selectRootElement(selectorOrNode: any) { return this.delegate.selectRootElement(selectorOrNode); }
selectRootElement(selectorOrNode: any, preserveContent?: boolean) {
return this.delegate.selectRootElement(selectorOrNode, preserveContent);
}
parentNode(node: any) { return this.delegate.parentNode(node); }