Merge pull request #7508 from miniak/docs-fix

Add missing documentation
This commit is contained in:
Kevin Sawicki 2016-10-06 11:11:31 -07:00 committed by GitHub
commit e38fc724f8
3 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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_

View file

@ -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