@developer-partners/ngx-modal-dialog
Version:
1. Install the libary
17 lines (16 loc) • 478 B
TypeScript
import { ViewContainerRef } from "@angular/core";
export interface ModalConfig<T> {
title: string;
size?: ModalSize;
model?: T;
type?: 'default' | 'error' | 'warning' | 'success';
mode?: 'default' | 'disableFullScreen' | 'fullScreen';
position?: 'center' | 'top' | 'bottom' | 'left' | 'right';
viewContainerRef?: ViewContainerRef;
}
export declare enum ModalSize {
default = 0,
large = 1,
extraLarge = 2,
medium = 3
}