ElectronIpcMainInvokeEvent
Unofficial
Event passed as the first argument to ipcMain handle/handleOnce handlers.
Import:
import type { ElectronIpcMainInvokeEvent } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronIpcMainInvokeEvent extends ElectronEventExtends: ElectronEvent
Properties
| Property | Type | Description | |
|---|---|---|---|
| frameId | number | The ID of the renderer frame that sent this message. | |
| processId | number | The internal ID of the renderer process that sent this message. | |
| sender | ElectronWebContents | The webContents that sent the message. | |
| senderFrame | ElectronWebFrameMain | The frame that sent this message. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| preventDefault() | void | Prevents the default action associated with the event. (Inherited from ElectronEvent) |