ElectronWebContents.setBackgroundThrottling method
ElectronWebContents › setBackgroundThrottling
Unofficial
Controls whether this web contents throttles animations and timers when backgrounded.Signature:
setBackgroundThrottling(allowed: boolean): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| allowed | boolean | Whether background throttling is allowed. |
Returns: void