Options for notification display.

interface NotificationOptions {
    autoClose?: number;
    closeable?: boolean;
    type?: NotificationType;
}

Properties

autoClose?: number

Close the notification automatically after the given number of milliseconds

closeable?: boolean

If the notification may be closed by the user. Defaults to true.

The notification type. Defaults to Info.