Skip to content

ElectronMenu.closePopup method

ElectronMenu › closePopup

Unofficial

Closes the context menu in the browserWindow.

Signature:

closePopup(browserWindow?: ElectronBrowserWindow | undefined): void

Parameters:

ParameterTypeDescription
browserWindow?ElectronBrowserWindow | undefinedThe window to close the popup in.

Returns: void