ng-devui
Version:
DevUI components based on Angular
28 lines (27 loc) • 1.42 kB
TypeScript
import { ComponentFactoryResolver, ComponentRef, RendererFactory2 } from '@angular/core';
import { OverlayContainerRef } from 'ng-devui/overlay-container';
import { DevConfigService } from 'ng-devui/utils';
import { ModalComponent } from './modal.component';
import { IDialogOptions } from './modal.types';
import * as i0 from "@angular/core";
export declare class DialogService {
private componentFactoryResolver;
private overlayContainerRef;
private rendererFactory;
private devConfigService;
private doc;
contentRef: ComponentRef<any>;
private renderer;
document: Document;
constructor(componentFactoryResolver: ComponentFactoryResolver, overlayContainerRef: OverlayContainerRef, rendererFactory: RendererFactory2, devConfigService: DevConfigService, doc: any);
open({ id, width, zIndex, backDropZIndex, backdropCloseable, maxHeight, showAnimation,
/**
* @deprecated
*/
showAnimate, title, content, html, data, buttons, injector, componentFactoryResolver, beforeHidden, onClose, onMaximize, dialogtype, showCloseBtn, draggable, placement, offsetX, offsetY, bodyScrollable, contentTemplate, escapable, showMaximizeBtn, }: IDialogOptions): {
modalInstance: ModalComponent;
modalContentInstance: any;
};
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
}