webContents: api to add/remove path from devtools workspace
This commit is contained in:
parent
1bc49487ad
commit
66553eea1a
5 changed files with 59 additions and 18 deletions
|
@ -1042,6 +1042,18 @@ win.webContents.on("did-finish-load", function() {
|
|||
});
|
||||
```
|
||||
|
||||
### WebContents.addWorkSpace(path)
|
||||
|
||||
* `path` String
|
||||
|
||||
Adds the specified path to devtools workspace.
|
||||
|
||||
### WebContents.removeWorkSpace(path)
|
||||
|
||||
* `path` String
|
||||
|
||||
Removes the specified path from devtools workspace.
|
||||
|
||||
### WebContents.send(channel[, args...])
|
||||
|
||||
* `channel` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue