fix(ivy): allow root components to inject ViewContainerRef (#26682)
PR Close #26682
This commit is contained in:

committed by
Matias Niemelä

parent
578e4c7642
commit
ede65dbede
@ -71,6 +71,9 @@ export interface ProceduralRenderer3 {
|
||||
removeChild(parent: RElement, oldChild: RNode): void;
|
||||
selectRootElement(selectorOrNode: string|any): RElement;
|
||||
|
||||
parentNode(node: RNode): RElement|null;
|
||||
nextSibling(node: RNode): RNode|null;
|
||||
|
||||
setAttribute(el: RElement, name: string, value: string, namespace?: string|null): void;
|
||||
removeAttribute(el: RElement, name: string, namespace?: string|null): void;
|
||||
addClass(el: RElement, name: string): void;
|
||||
@ -99,6 +102,10 @@ export const domRendererFactory3: RendererFactory3 = {
|
||||
|
||||
/** Subset of API needed for appending elements and text nodes. */
|
||||
export interface RNode {
|
||||
parentNode: RNode|null;
|
||||
|
||||
nextSibling: RNode|null;
|
||||
|
||||
removeChild(oldChild: RNode): void;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user