AlertPresentationProperties

Notification properties shared by rule-based and scheduled alerts

TypeScript
export interface

Properties

PropertyTypeDescription
DisplayNotificationbooleanDisplays a notification when Alert is triggered
DisplaySystemStatusMessagebooleanShows the alert message in the System Status panel
LogToConsolebooleanLogs the Alert message to the console
NotificationDurationNotificationsOptions['duration']Notifiction duration(defaults to NotificationOptions.duration)
ShowInDivbooleanShows Alert text in the div specificed in alertContainer property of Container Options

Property Details

DisplayNotification

Displays a notification when Alert is triggered

TypeScript
DisplayNotification?: boolean;
Property Value

boolean

DisplaySystemStatusMessage

Shows the alert message in the System Status panel

TypeScript
DisplaySystemStatusMessage?: boolean;
Property Value

boolean

LogToConsole

Logs the Alert message to the console

TypeScript
LogToConsole?: boolean;
Property Value

boolean

NotificationDuration

Notifiction duration(defaults to NotificationOptions.duration)

TypeScript
NotificationDuration?: NotificationsOptions['duration'];
Property Value

NotificationsOptions['duration']

ShowInDiv

Shows Alert text in the div specificed in alertContainer property of Container Options

TypeScript
ShowInDiv?: boolean;
Property Value

boolean