Skip to content

ElectronBrowserWindow.fromId method

ElectronBrowserWindow › fromId

Unofficial

Returns the window with the given id.

Signature:

fromId(id: number): ElectronBrowserWindow | null

Parameters:

Parameter Type Description
id number The window id.

Returns: ElectronBrowserWindow | nullThe BrowserWindow or null if not found.