UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

38 lines (37 loc) 1.31 kB
import { Type } from '@angular/core'; import { NotificationAction } from './NotificationAction'; /** * <p style="text-indent: 2em;"> * A <code>model</code> class representing an <code>application</code> notification message. A notification message may consist of its <code>body * component</code> which will be displayed when the user hovers a mouse over the message for a period of time (less than a second). * </p> * * @author shiorin, tee4cute * @see [[INotificationManager]] * @see [[NotificationAction]] */ export declare class Notification { static readonly TYPE_UNDEFINED: string; private _type; private _name; private _group; private _timeout; iconURL: string; label: string; title: string; description: string; bodyComponent: Type<any>; createdTime: Date; occurringTime: Date; clickHandler: Function; actions: NotificationAction[]; show: boolean; constructor(iconURL: string, title: string, description: string, show: boolean, label?: string, occurringTime?: Date, timeout?: number, bodyComponent?: Type<any>); type: string; name: string; group: string; timeout: number; addAction(action: NotificationAction): void; removeAction(action: NotificationAction): void; getActions(): NotificationAction[]; }