Add backgroundThrottling option to webPreferences

This commit is contained in:
Cheng Zhao 2016-04-08 15:54:33 +09:00
parent d703a87317
commit d156846036
3 changed files with 23 additions and 5 deletions

View file

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