Options for updating a notification

Type Parameters

  • T extends ReadonlyJSONValue



actions?: IAction[]

List of associated actions

autoClose?: number | false

Autoclosing behavior - false (not closing automatically) or number (time in milliseconds before hiding the notification)

Set to zero if you want the notification to be retained in the notification center but not displayed as toast. This is the default behavior.

data?: T

Data associated with a notification

id: string

Notification unique id

message?: string

New notification message

progress?: number

Task progression


This should be a number between 0 (not started) and 1 (completed).

New notification type

Generated using TypeDoc