ElectronWebContents.setAudioMuted method
ElectronWebContents › setAudioMuted
Unofficial
Mutes or unmutes the audio on the current web page.Signature:
setAudioMuted(muted: boolean): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| muted | boolean | Whether the audio should be muted. |
Returns: void