From 9f342ebbd1493b007d3836bdeddddd5574983d18 Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Thu, 6 Oct 2016 11:30:34 +0200 Subject: [PATCH] Add missing documentation --- docs/api/browser-window.md | 1 + docs/api/tray.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index d91226362a..015cf98686 100644 --- a/docs/api/browser-window.md +++ b/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 diff --git a/docs/api/tray.md b/docs/api/tray.md index 964f0d8a83..19510085d0 100644 --- a/docs/api/tray.md +++ b/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