ElectronBrowserWindow.fromBrowserView method
ElectronBrowserWindow › fromBrowserView
Unofficial
Returns the window that owns the givenbrowserView. Signature:
fromBrowserView(browserView: ElectronBrowserView): ElectronBrowserWindow | nullParameters:
| Parameter | Type | Description |
|---|---|---|
| browserView | ElectronBrowserView | The view to look up. |
Returns: ElectronBrowserWindow | null — The owning BrowserWindow or null if the view is not attached to any window.