Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUpdate<T>

Options for updating a notification

Type parameters

  • T: ReadonlyJSONValue

Hierarchy

Index

Properties

Optional actions

actions: IAction[]

List of associated actions

Optional autoClose

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.

Optional data

data: T

Data associated with a notification

id

id: string

Notification unique id

Optional message

message: string

New notification message

Optional progress

progress: number

Task progression

Notes

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

Optional type

New notification type

Generated using TypeDoc