Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 552 Bytes

ipc-renderer-event.md

File metadata and controls

6 lines (4 loc) · 552 Bytes

IpcRendererEvent Object extends Event

  • sender IpcRenderer - The IpcRenderer instance that emitted the event originally
  • senderId Integer - The webContents.id that sent the message, you can call event.sender.sendTo(event.senderId, ...) to reply to the message, see ipcRenderer.sendTo for more information. This only applies to messages sent from a different renderer. Messages sent directly from the main process set event.senderId to 0.