mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add backgroundThrottling option to webPreferences
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user