Merge pull request #7508 from miniak/docs-fix
Add missing documentation
This commit is contained in:
commit
e38fc724f8
3 changed files with 6 additions and 1 deletions
|
@ -289,6 +289,7 @@ The `webPreferences` option is an object that can have the following properties:
|
|||
when the page becomes background. Defaults to `true`.
|
||||
* `offscreen` Boolean - Whether to enable offscreen rendering for the browser
|
||||
window. Defaults to `false`.
|
||||
* `sandbox` Boolean - Whether to enable Chromium OS-level sandbox.
|
||||
|
||||
### Instance Events
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ accent color.
|
|||
|
||||
### `systemPreferences.isDarkMode()` _macOS_
|
||||
|
||||
Returns `Boolean` - Whether the the system is in Dark Mode.
|
||||
Returns `Boolean` - Whether the system is in Dark Mode.
|
||||
|
||||
### `systemPreferences.isSwipeTrackingFromScrollEventsEnabled()` _macOS_
|
||||
|
||||
|
|
|
@ -251,4 +251,8 @@ Returns `Object`:
|
|||
|
||||
The `bounds` of this tray icon as `Object`.
|
||||
|
||||
#### `tray.isDestroyed()`
|
||||
|
||||
Returns `Boolean` - Whether the tray icon is destroyed.
|
||||
|
||||
[event-emitter]: http://nodejs.org/api/events.html#events_class_events_eventemitter
|
||||
|
|
Loading…
Reference in a new issue