Options
All
  • Public
  • Public/Protected
  • All
Menu

A model class representing an application notification message. A notification message may consist of its body component which will be displayed when the user hovers a mouse over the message for a period of time (less than a second).

author

shiorin, tee4cute

see

INotificationManager

see

NotificationAction

Hierarchy

  • Notification

Index

Constructors

constructor

  • new Notification(iconURL: string, title: string, description: string, show: boolean, label?: string, occurringTime?: Date, timeout?: number, bodyComponent?: Type<any>): Notification
  • Parameters

    • iconURL: string
    • title: string
    • description: string
    • show: boolean
    • Optional label: string
    • Optional occurringTime: Date
    • Optional timeout: number
    • Optional bodyComponent: Type<any>

    Returns Notification

Properties

Private _group

_group: string

Private _name

_name: string

Private _timeout

_timeout: number

Private _type

_type: string

actions

bodyComponent

bodyComponent: Type<any>

clickHandler

clickHandler: Function

createdTime

createdTime: Date

description

description: string

iconURL

iconURL: string

label

label: string

occurringTime

occurringTime: Date

show

show: boolean

title

title: string

Static TYPE_UNDEFINED

TYPE_UNDEFINED: string = TYPE_UNDEFINED

Accessors

group

  • get group(): string
  • set group(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

name

  • get name(): string
  • set name(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

timeout

  • get timeout(): number
  • set timeout(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

type

  • get type(): string
  • set type(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

Methods

addAction

getActions

removeAction

Generated using TypeDoc