Type Alias NotificationInfo

NotificationInfo: {
    displayDurationInSeconds?: number;
    icon?: string | IconRelativePath;
    message: string;
    title: string;
}

Represents a notification popup that can be shown to the user.

Type declaration

  • OptionaldisplayDurationInSeconds?: number

    The optional duration in seconds that the popup will remain visible. If not provided, the notification will remain visible until the user closes it themselves.

  • Optionalicon?: string | IconRelativePath

    The optional icon for the notification. If specified, it is either an image encoded as data URL string, or a path relative to the location where the given component is located. The component name should follow the same conventions as UISpec in case of tabs and dialogs.

  • message: string

    The main message content of the notification.

  • title: string

    The title of the notification.