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:

ParameterTypeDescription
ignorebooleanWhether to ignore mouse events.
options?ElectronIgnoreMouseEventsOptions | undefinedAdditional options.

Returns: void