UNPKG

ngx-pluto

Version:
18 lines (17 loc) 710 B
import { ComponentRef, ComponentFactoryResolver, ApplicationRef, Injector, Type } from '@angular/core'; import { NpDialog } from './dialog.component'; import { DialogConfig } from './dialog-config'; import { DialogRef } from './dialog-ref'; /** * @ignore */ export declare class DialogService { private componentFactoryResolver; private appRef; private injector; dialogComponentRef: ComponentRef<NpDialog>; constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector); open(componentType: Type<any>, config: DialogConfig): DialogRef; private appendDialogComponentToBody; private removeDialogComponentFromBody; }