docs: Say more about page-visibility option
This commit is contained in:
parent
f4c696b922
commit
129159c895
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue