Merge pull request #5086 from electron/no-throttling
Add backgroundThrottling option to webPreferences
This commit is contained in:
commit
5ff97317fe
5 changed files with 25 additions and 7 deletions
|
@ -179,6 +179,8 @@ The `webPreferences` option is an object that can have following properties:
|
|||
* `defaultMonospaceFontSize` Integer - Defaults to `13`.
|
||||
* `minimumFontSize` Integer - Defaults to `0`.
|
||||
* `defaultEncoding` String - Defaults to `ISO-8859-1`.
|
||||
* `backgroundThrottling` Boolean - Whether to throttle animations and timers
|
||||
when the page becomes background. Defaults to `true`.
|
||||
|
||||
## Events
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue