NotificationsOptions

Options related to System Status Messages and Notifications in Adaptable.

TypeScript
export interface

Properties

PropertyDescriptionDefault
closeWhenClickedCloses Notification automatically when its clickedfalse
durationHow long (in ms) Notifications display for3000
isDraggableCan Notification be draggedfalse
maxNotificationsHow many Notifications can be displayed at one time3
maxSystemMessagesInStoreHow many System Status Messages to hold in State; when limit is reached, oldest Message is removed100
pauseWhenHoveringPauses the Notification when mouse hovers over itfalse
positionWhere Notification will appear (if anywhere)'BottomRight'
showApplicationIconDisplays the application icon in Notificationsfalse
showProgressBarShows a Progress Bar in the Notificationfalse
showSystemStatusMessageNotificationsDisplay System Status Messages as Notificationsfalse
transitionHow 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'