NotificationsOptions

Options related to System Status Messages and Notifications in Adaptable.

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
closeWhenClickedbooleanCloses Notification automatically when its clickedfalse
durationnumber | 'always'How long (in ms) Notifications display for3000
isDraggablebooleanCan Notification be draggedfalse
maxNotificationsnumberHow many Notifications can be displayed at one time3
maxSystemMessagesInStorenumberHow many System Status Messages to hold in State; when limit is reached, oldest Message is removed100
pauseWhenHoveringbooleanPauses the Notification when mouse hovers over itfalse
positionToastPositionsWhere Notification will appear (if anywhere)'BottomRight'
showApplicationIconbooleanDisplays the application icon in Notificationsfalse
showProgressBarbooleanShows a Progress Bar in the Notificationfalse
showSystemStatusMessageNotificationsbooleanDisplay System Status Messages as Notificationsfalse
transition'Bounce' | 'Slide' | 'Zoom' | 'Flip'How Notification will appear: Bounce, Slide, Zoom or Flip'Slide'

Property Details

closeWhenClicked

Closes Notification automatically when its clicked

TypeScript
closeWhenClicked?: boolean;
Default Value

false

Property Value

boolean

duration

How long (in ms) Notifications display for

TypeScript
duration?: number | 'always';
Default Value

3000

Property Value

number | 'always'

isDraggable

Can Notification be dragged

TypeScript
isDraggable?: boolean;
Default Value

false

Property Value

boolean

maxNotifications

How many Notifications can be displayed at one time

TypeScript
maxNotifications?: number;
Default Value

3

Property Value

number

maxSystemMessagesInStore

How many System Status Messages to hold in State; when limit is reached, oldest Message is removed

TypeScript
maxSystemMessagesInStore?: number;
Default Value

100

Property Value

number

pauseWhenHovering

Pauses the Notification when mouse hovers over it

TypeScript
pauseWhenHovering?: boolean;
Default Value

false

Property Value

boolean

position

Where Notification will appear (if anywhere)

TypeScript
position?: ToastPositions;
Default Value

'BottomRight'

Property Value

ToastPositions

showApplicationIcon

Displays the application icon in Notifications

TypeScript
showApplicationIcon?: boolean;
Default Value

false

Property Value

boolean

showProgressBar

Shows a Progress Bar in the Notification

TypeScript
showProgressBar?: boolean;
Default Value

false

Property Value

boolean

showSystemStatusMessageNotifications

Display System Status Messages as Notifications

TypeScript
showSystemStatusMessageNotifications?: boolean;
Default Value

false

Property Value

boolean

transition

How Notification will appear: Bounce, Slide, Zoom or Flip

TypeScript
transition?: 'Bounce' | 'Slide' | 'Zoom' | 'Flip';
Default Value

'Slide'

Property Value

'Bounce' | 'Slide' | 'Zoom' | 'Flip'