UNPKG

778 BTypeScriptView Raw
1import { EventEmitter } from '@angular/core';
2import { NotificationType } from '../enums/notification-type.enum';
3import { NotificationAnimationType } from '../enums/notification-animation-type.enum';
4export interface Notification {
5 id?: string;
6 type: NotificationType;
7 icon: string;
8 title?: any;
9 content?: any;
10 override?: any;
11 html?: any;
12 state?: string;
13 createdOn?: Date;
14 destroyedOn?: Date;
15 animate?: NotificationAnimationType;
16 timeOut?: number;
17 maxLength?: number;
18 pauseOnHover?: boolean;
19 clickToClose?: boolean;
20 clickIconToClose?: boolean;
21 theClass?: string;
22 click?: EventEmitter<{}>;
23 clickIcon?: EventEmitter<{}>;
24 timeoutEnd?: EventEmitter<{}>;
25 context?: any;
26}