Browse Source

Add missing documentation

Milan Burda 8 years ago
parent
commit
9f342ebbd1
2 changed files with 5 additions and 0 deletions
  1. 1 0
      docs/api/browser-window.md
  2. 4 0
      docs/api/tray.md

+ 1 - 0
docs/api/browser-window.md

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

+ 4 - 0
docs/api/tray.md

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