Skip to content

ElectronBrowserWindow.setBrowserView method

ElectronBrowserWindow › setBrowserView

Unofficial

Sets the view attached to the window.

Signature:

setBrowserView(browserView: ElectronBrowserView | null): void

Parameters:

Parameter Type Description
browserView ElectronBrowserView | null The view to attach, or null to detach.

Returns: void