mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add setAudioMuted to webContents
This commit is contained in:
@@ -877,6 +877,16 @@ Injects CSS into this page.
|
||||
|
||||
Evaluates `code` in page.
|
||||
|
||||
### WebContents.setAudioMuted(muted)
|
||||
|
||||
+ `muted` Boolean
|
||||
|
||||
Set the page muted.
|
||||
|
||||
### WebContents.isAudioMuted()
|
||||
|
||||
Returns whether this page has been muted.
|
||||
|
||||
### WebContents.undo()
|
||||
|
||||
Executes editing command `undo` in page.
|
||||
|
||||
@@ -250,6 +250,16 @@ Starts inspecting element at position (`x`, `y`) of guest page.
|
||||
|
||||
Opens the devtools for the service worker context present in the guest page.
|
||||
|
||||
### `<webview>`.setAudioMuted(muted)
|
||||
|
||||
+ `muted` Boolean
|
||||
|
||||
Set guest page muted.
|
||||
|
||||
### `<webview>`.isAudioMuted()
|
||||
|
||||
Returns whether guest page has been muted.
|
||||
|
||||
### `<webview>`.undo()
|
||||
|
||||
Executes editing command `undo` in page.
|
||||
|
||||
Reference in New Issue
Block a user