Skip to content

ElectronBrowserWindow.setIgnoreMouseEvents method

ElectronBrowserWindow › setIgnoreMouseEvents

Unofficial

Makes the window ignore all mouse events.

Signature:

setIgnoreMouseEvents(ignore: boolean, options?: ElectronIgnoreMouseEventsOptions | undefined): void

Parameters:

Parameter Type Description
ignore boolean Whether to ignore mouse events.
options? ElectronIgnoreMouseEventsOptions | undefined Additional options.

Returns: void