1 KiB
1 KiB
IpcRendererEvent Object extends Event
senderIpcRenderer - TheIpcRendererinstance that emitted the event originallysenderIdInteger Deprecated - ThewebContents.idthat sent the message, you can callevent.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 setevent.senderIdto0.senderIsMainFrameboolean (optional) Deprecated - Whether the message sent via ipcRenderer.sendTo was sent by the main frame. This is relevant whennodeIntegrationInSubFramesis enabled in the originatingwebContents.portsMessagePort[] - A list of MessagePorts that were transferred with this message