mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
#10039 add BrowserView.fromId
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user