Type alias NotificationConfig

NotificationConfig: {
    content: string;
    id?: string;
    timeout?: number;
}

Configuration for Notification.show

Type declaration

  • content: string

    notification content

  • Optional id?: string

    unique identifier to use with Notification.hide and Notification.isVisible

  • Optional timeout?: number

    automatically hide the notification after X milliseconds

Generated using TypeDoc