setBackgroundThrottling

external fun setBackgroundThrottling(allowed: Boolean)(source)

Controls whether or not this WebContents will throttle animations and timers when the page becomes backgrounded. This also affects the Page Visibility API.