Skip to content

ElectronMenu.closePopup method

ElectronMenu › closePopup

Unofficial

Closes the context menu in the browserWindow.

Signature:

closePopup(browserWindow?: ElectronBrowserWindow | undefined): void

Parameters:

Parameter Type Description
browserWindow? ElectronBrowserWindow | undefined The window to close the popup in.

Returns: void