Readonly
showWhether to show user that they have not allowed notifications yet.
Only true when user has not denied or granted notification permission.
Readonly
supportedFlag for whether notifications are supported on this device.
Protected
Readonly
windowWhether notification permission is granted on this device.
Notification permission on this device.
Displays a desktop notification with the provided options.
The title of the notification.
Optional
options: NotificationOptionsConfiguration options for the notification (optional).
Optional
onClick: (() => void)Callback function to execute when the notification is clicked (optional).
Handling browser desktop notification API.