Skip to content

ElectronBrowserWindow.setBrowserView method

ElectronBrowserWindow › setBrowserView

Unofficial

Sets the view attached to the window.

Signature:

setBrowserView(browserView: ElectronBrowserView | null): void

Parameters:

ParameterTypeDescription
browserViewElectronBrowserView | nullThe view to attach, or null to detach.

Returns: void