Add Notification API docs
This commit is contained in:
parent
e7569ed499
commit
8815da314f
2 changed files with 88 additions and 1 deletions
|
@ -5,7 +5,9 @@ to the user. Electron conveniently allows developers to send notifications with
|
|||
the [HTML5 Notification API](https://notifications.spec.whatwg.org/), using
|
||||
the currently running operating system's native notification APIs to display it.
|
||||
|
||||
**Note:** Since this is an HTML5 API it is only available in the renderer process.
|
||||
**Note:** Since this is an HTML5 API it is only available in the renderer process. If
|
||||
you want to show Notifications in the main process please check out the
|
||||
[Notification](../api/notification.md) module.
|
||||
|
||||
```javascript
|
||||
let myNotification = new Notification('Title', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue