Add setAudioMuted to webContents

This commit is contained in:
Magica 2015-06-15 21:40:49 +08:00
parent 8b8a6aea74
commit 8aa559fe51
5 changed files with 34 additions and 0 deletions

View file

@ -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.