📝 Docs!
This commit is contained in:
parent
b7bc4eb586
commit
8f20ce6dcf
1 changed files with 6 additions and 0 deletions
|
@ -580,6 +580,12 @@ Returns `BrowserWindow` - The window that is focused in this application, otherw
|
||||||
|
|
||||||
Returns `BrowserWindow` - The window that owns the given `webContents`.
|
Returns `BrowserWindow` - The window that owns the given `webContents`.
|
||||||
|
|
||||||
|
#### `BrowserWindow.fromBrowserView(browserView)`
|
||||||
|
|
||||||
|
* `browserView` [BrowserView](browser-view.md)
|
||||||
|
|
||||||
|
Returns `BrowserWindow | null` - The window that owns the given `browserView`. If the given view is not attached to any window, returns `null`.
|
||||||
|
|
||||||
#### `BrowserWindow.fromId(id)`
|
#### `BrowserWindow.fromId(id)`
|
||||||
|
|
||||||
* `id` Integer
|
* `id` Integer
|
||||||
|
|
Loading…
Reference in a new issue