fix(core): do not clear element content when using shadow dom (#24861)
PR Close #24861
This commit is contained in:

committed by
Misko Hevery

parent
1f59f2f04d
commit
6e828bba88
@ -268,7 +268,7 @@ export abstract class Renderer2 {
|
||||
* @param selectorOrNode The DOM element.
|
||||
* @returns The root element.
|
||||
*/
|
||||
abstract selectRootElement(selectorOrNode: string|any): any;
|
||||
abstract selectRootElement(selectorOrNode: string|any, preserveContent?: boolean): any;
|
||||
/**
|
||||
* Implement this callback to get the parent of a given node
|
||||
* in the host element's DOM.
|
||||
|
Reference in New Issue
Block a user