@qrsln/utils
Version:
14 lines (13 loc) • 616 B
TypeScript
import { ApplicationRef, ComponentRef, ViewContainerRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class DomService {
private viewContainerRef;
private appRef;
constructor(viewContainerRef: ViewContainerRef, appRef: ApplicationRef);
private GetComponentRef;
private AttachComponent;
Append(component: any, element: Element, asSibling?: boolean): ComponentRef<any>;
Remove(componentRef: ComponentRef<any>): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<DomService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DomService>;
}