Interface NotificationOptions

Configuration for non-blocking notifications.

interface NotificationOptions {
    persist?: boolean;
    preventDuplicate?: boolean;
    type?: NotificationType;
}

Properties

persist?: boolean

Setting this to true will leave the notification on the screen unless it is dismissed (programmatically or through user interaction). If false this will be removed after a period of time.

Default Value

false
preventDuplicate?: boolean

Ignores displaying multiple snackBars with the same message

Default Value

false

A hint for decorations of the message.