mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
📝 Add a line to the docs
This commit is contained in:
@@ -104,9 +104,12 @@ 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
|
not immediately show it to the user, you need to call this method before the OS
|
||||||
will display it.
|
will display it.
|
||||||
|
|
||||||
|
If the notification has been shown before, this method will dismiss the previously
|
||||||
|
shown notification and create a new one with identical properties.
|
||||||
|
|
||||||
#### `notification.close()`
|
#### `notification.close()`
|
||||||
|
|
||||||
Dismisses the notification
|
Dismisses the notification.
|
||||||
|
|
||||||
### Playing Sounds
|
### Playing Sounds
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user