1 import { ButtonModel } from 'app/models';
3 export class ModalModel {
4 size: string; 'xl|l|md|sm|xsm'
7 buttons: Array<ButtonModel>;
8 type: string; 'standard|error|alert'
11 constructor(size?: string, title?: string, content?: any, buttons?: Array<ButtonModel>, type?: string, isMovable?: boolean) {
14 this.content = content;
15 this.buttons = buttons;
16 this.type = type || 'standard';
17 this.isMovable = !!isMovable;