Fix linting errors and add isSupported
This commit is contained in:
parent
686b1388b1
commit
3938373ecb
6 changed files with 21 additions and 6 deletions
|
@ -19,6 +19,14 @@ Process: [Main](../glossary.md#main-process)
|
|||
|
||||
It creates a new `Notification` with native properties as set by the `options`.
|
||||
|
||||
### Static Methods
|
||||
|
||||
The `Notification` class has the following static methods:
|
||||
|
||||
#### `BrowserWindow.isSupported()`
|
||||
|
||||
Returns `Boolean` - Whether or not desktop notifications are supported on the current system
|
||||
|
||||
### `new Notification([options])` _Experimental_
|
||||
|
||||
* `options` Object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue