Notifications API
suggest changeSyntax
- Notification.requestPermission(callback)
- Notification.requestPermission().then(callback, rejectFunc)
- new Notification(title, options)
- notification.close()
Remarks
The Notifications API was designed to allow browser access to notifying the client.
Support by browsers might be limited. Also support by the operating system may be limited.
The following table gives an overview of the earliest browser versions that provide support for notifications.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents