Close the previous notification on multiple calls to show
This commit is contained in:
parent
e2d5aaf0f3
commit
fe9069c028
2 changed files with 13 additions and 0 deletions
|
@ -104,6 +104,10 @@ HTML5 Notification implementation, simply instantiating a `new Notification` doe
|
|||
not immediately show it to the user, you need to call this method before the OS
|
||||
will display it.
|
||||
|
||||
#### `notification.close()`
|
||||
|
||||
Dismisses the notification
|
||||
|
||||
### Playing Sounds
|
||||
|
||||
On macOS, you can specify the name of the sound you'd like to play when the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue