Skip to content

ElectronIpcMainInvokeEvent

Unofficial

Event passed as the first argument to ipcMain handle/handleOnce handlers.

Import:

import type { ElectronIpcMainInvokeEvent } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronIpcMainInvokeEvent extends ElectronEvent

Extends: ElectronEvent

Properties

PropertyTypeDescription
frameIdnumberThe ID of the renderer frame that sent this message.
processIdnumberThe internal ID of the renderer process that sent this message.
senderElectronWebContentsThe webContents that sent the message.
senderFrameElectronWebFrameMainThe frame that sent this message.

Methods

MethodReturnsDescription
preventDefault()voidPrevents the default action associated with the event.
(Inherited from ElectronEvent)