UNPKG

@asi-ngtools/lib

Version:

This project is a little components library, simple to use, which will help you to simplify your project.

16 lines (15 loc) 724 B
import { AsiDialogView } from './asi-dialog-view'; import { AsiDialog } from './dialog/asi-dialog.component'; import { AsiDialogConfig } from './asi-dialog-config'; import { ComponentType } from './../common/component-type'; import { ComponentFactoryResolver, ApplicationRef } from '@angular/core'; export declare class AsiDialogService { private resolver; private appRef; private dialogContainer; private dialogEmptySubscription; constructor(resolver: ComponentFactoryResolver, appRef: ApplicationRef); fromComponent<T extends AsiDialogView>(content: ComponentType<T>, config: AsiDialogConfig): AsiDialog<T>; private getContainer(); private createDialog<T>(content, containerRef, config); }