Notification
Properties
A NotificationAction[]
property representing the actions of the notification.
A string
property representing the close button text of the notification.
A string
property representing the reply placeholder of the notification.
A string
property representing the type of timeout duration for the notification. Can be 'default' or 'never'.
A string
property representing the urgency level of the notification. Can be 'normal', 'critical', or 'low'.
Functions
Emitted when the notification is clicked by the user.
Emitted when the notification is closed by manual intervention from the user.
Emitted when an error is encountered while creating and showing the native notification.
Emitted when the user clicks the "Reply" button on a notification with hasReply: true
.
Emitted when the notification is shown to the user. Note that this event can be fired multiple times as a notification can be shown multiple times through the show()
method.