Skip to content

ElectronMenu.closePopup method

ElectronMenu › closePopup

Unofficial

Closes the context menu in the browserWindow.

Signature:

closePopup(browserWindow?: ElectronBrowserWindow): void

Parameters:

ParameterTypeDescription
browserWindow?ElectronBrowserWindowThe window to close the popup in.

Returns: void