Merge pull request #10097 from liusy182/liusy182-browserview
#10039 add BrowserView.fromId
This commit is contained in:
commit
20ae611dd9
3 changed files with 20 additions and 1 deletions
|
@ -38,6 +38,14 @@ view.webContents.loadURL('https://electron.atom.io')
|
|||
* `options` Object (optional)
|
||||
* `webPreferences` Object (optional) - See [BrowserWindow](browser-window.md).
|
||||
|
||||
### Static Methods
|
||||
|
||||
#### `BrowserView.fromId(id)`
|
||||
|
||||
* `id` Integer
|
||||
|
||||
Returns `BrowserView` - The view with the given `id`.
|
||||
|
||||
### Instance Properties
|
||||
|
||||
Objects created with `new BrowserView` have the following properties:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue