foundation-notifications.notifycontainerconfig.notificationinterval
Home > @genesislcap/foundation-notifications > NotifyContainerConfig > notificationInterval
NotifyContainerConfig.notificationInterval property
When set, notifications added simultaneously are revealed one-by-one with this delay (in ms) between each. Auto-close timers on individual notifications only begin once they are shown. Setting this to 0 disables queuing.
When NotifyContainerConfig.sortFn is also set, each incoming notification that would not appear at the front of the collapsed stack will briefly peek at the front for half the interval duration before animating to its sorted position, making it visible to the user before it settles.
Signature:
notificationInterval: number;