Skip to content

ElectronWebContents.decrementCapturerCount method

ElectronWebContents › decrementCapturerCount

Unofficial

Decreases the capturer count by one.

Signature:

decrementCapturerCount(stayHidden?: boolean, stayAwake?: boolean): void

Parameters:

ParameterTypeDescription
stayHidden?booleanWhether to decrease the hidden capturer count instead.
stayAwake?booleanWhether the page should stay awake.

Returns: void