From 129159c895bac9b35f1524d7f21b16dce57a7d26 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 4 Jun 2015 22:42:36 +0800 Subject: [PATCH] docs: Say more about page-visibility option --- docs/api/browser-window.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index a829e390..ab776698 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -97,8 +97,10 @@ You can also create a window without chrome by using * `shared-worker` Boolean * `direct-write` Boolean - Whether the DirectWrite font rendering system on Windows is enabled - * `page-visibility` Boolean - Sets the page visibility state - to visible, prevents throttling of DOM timers. + * `page-visibility` Boolean - Page would be forced to be always in visible + or hidden state once set, instead of reflecting current window's + visibility. Users can set it to `true` to prevent throttling of DOM + timers. Creates a new `BrowserWindow` with native properties set by the `options`. Usually you only need to set the `width` and `height`, other properties will -- 2.43.0