📝 Docs!

This commit is contained in:
Felix Rieseberg 2017-11-22 14:38:22 -08:00
parent b7bc4eb586
commit 8f20ce6dcf

View file

@ -580,6 +580,12 @@ Returns `BrowserWindow` - The window that is focused in this application, otherw
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)`
* `id` Integer