You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/structures/ipc-main-event.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
*`frameId` Integer - The ID of the renderer frame that sent this message
5
5
*`returnValue` any - Set this to the value to be returned in a synchronous message
6
6
*`sender` WebContents - Returns the `webContents` that sent the message
7
+
*`senderFrame` WebFrameMain _Readonly_ - The frame that sent this message
7
8
*`ports` MessagePortMain[] - A list of MessagePorts that were transferred with this message
8
9
*`reply` Function - A function that will send an IPC message to the renderer frame that sent the original message that you are currently handling. You should use this method to "reply" to the sent message in order to guarantee the reply will go to the correct process and frame.
0 commit comments