@c-standard/angular-devui-extension
Version:
an extensional components lib for devui
16 lines (15 loc) • 662 B
TypeScript
import { DialogService, ModalComponent } from 'ng-devui';
import { PopupWidth, DPopupOption } from './popup';
import * as i0 from "@angular/core";
export declare class PopupService {
private dialog;
/**
* 弹框建议的 400px,550px,700px,900px,
* 弹框比例 16:9,3:2
*/
constructor(dialog: DialogService);
show(option: DPopupOption, resolve?: (data?: any, ref?: ModalComponent) => void, reject?: (data?: any) => void): void;
calcWidth(width?: PopupWidth): string;
static ɵfac: i0.ɵɵFactoryDeclaration<PopupService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PopupService>;
}