docs: Say more about page-visibility option

This commit is contained in:
Cheng Zhao 2015-06-04 22:42:36 +08:00
parent f4c696b922
commit 129159c895

View file

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