Type Alias NotificationConfig

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

Configuration for Notification.show

Type declaration

  • content: string

    notification content

  • Optionalid?: string

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

  • Optionaltimeout?: number

    automatically hide the notification after X milliseconds