UNPKG

primeng

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![npm downloads](https://img.shields.io/npm/dm/primeng.sv

18 lines (17 loc) 935 B
import { ComponentFactoryResolver, ApplicationRef, Injector, Type, ComponentRef } from '@angular/core'; import { DynamicDialogComponent } from './dynamicdialog'; import { DynamicDialogConfig } from './dynamicdialog-config'; import { DynamicDialogRef } from './dynamicdialog-ref'; import * as i0 from "@angular/core"; export declare class DialogService { private componentFactoryResolver; private appRef; private injector; dialogComponentRefMap: Map<DynamicDialogRef, ComponentRef<DynamicDialogComponent>>; constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector); open(componentType: Type<any>, config: DynamicDialogConfig): DynamicDialogRef; private appendDialogComponentToBody; private removeDialogComponentFromBody; static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>; }