Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Notification models a message to the user.

Hierarchy

  • Notification

Index

Constructors

Properties

Constructors

  • new Notification(type: string, code: string, message: string): Notification
  • Create a new notification instance.

    Parameters

    • type: string

      the type.

    • code: string
    • message: string

      the default notification text

    Returns Notification

Properties

code: string

The notification code.
This code uniquely identifies this notification.

message: string

The notification message.
This language of this message is defined by the language of the viewer.

type: string

The notification type.
See the Constants.NOTIFICATION_TYPE constants for possible values.