Merge pull request #10097 from liusy182/liusy182-browserview

#10039 add BrowserView.fromId
This commit is contained in:
Birunthan Mohanathas 2017-07-28 01:27:47 +03:00 committed by GitHub
commit 20ae611dd9
3 changed files with 20 additions and 1 deletions

View file

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