diff --git a/docs/latest/api/structures/ipc-main-event.md b/docs/latest/api/structures/ipc-main-event.md index 9f6c3d5..1cacb50 100644 --- a/docs/latest/api/structures/ipc-main-event.md +++ b/docs/latest/api/structures/ipc-main-event.md @@ -10,9 +10,9 @@ hide_title: false * `processId` Integer - The internal ID of the renderer process that sent this message * `frameId` Integer - The ID of the renderer frame that sent this message * `returnValue` any - Set this to the value to be returned in a synchronous message -* `sender` WebContents - Returns the `webContents` that sent the message -* `senderFrame` WebFrameMain _Readonly_ - The frame that sent this message -* `ports` MessagePortMain[] - A list of MessagePorts that were transferred with this message +* `sender` [WebContents](latest/api/web-contents.md) - Returns the `webContents` that sent the message +* `senderFrame` [WebFrameMain](latest/api/web-frame-main.md) _Readonly_ - The frame that sent this message +* `ports` [MessagePortMain](latest/api/message-port-main.md)[] - A list of MessagePorts that were transferred with this message * `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. * `channel` string * `...args` any[] diff --git a/docs/latest/api/structures/ipc-main-invoke-event.md b/docs/latest/api/structures/ipc-main-invoke-event.md index f3aaf53..75b6412 100644 --- a/docs/latest/api/structures/ipc-main-invoke-event.md +++ b/docs/latest/api/structures/ipc-main-invoke-event.md @@ -9,5 +9,5 @@ hide_title: false * `processId` Integer - The internal ID of the renderer process that sent this message * `frameId` Integer - The ID of the renderer frame that sent this message -* `sender` WebContents - Returns the `webContents` that sent the message -* `senderFrame` WebFrameMain _Readonly_ - The frame that sent this message +* `sender` [WebContents](latest/api/web-contents.md) - Returns the `webContents` that sent the message +* `senderFrame` [WebFrameMain](latest/api/web-frame-main.md) _Readonly_ - The frame that sent this message diff --git a/docs/latest/api/structures/ipc-renderer-event.md b/docs/latest/api/structures/ipc-renderer-event.md index 372f910..0957db4 100644 --- a/docs/latest/api/structures/ipc-renderer-event.md +++ b/docs/latest/api/structures/ipc-renderer-event.md @@ -7,8 +7,9 @@ hide_title: false # IpcRendererEvent Object extends `Event` -* `sender` IpcRenderer - The `IpcRenderer` instance that emitted the event originally +* `sender` [IpcRenderer](latest/api/ipc-renderer.md) - 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][ipc-renderer-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`. -* `ports` MessagePort[] - A list of MessagePorts that were transferred with this message +* `ports` [MessagePort][][] - A list of MessagePorts that were transferred with this message [ipc-renderer-sendto]: latest/api/ipc-renderer.md#ipcrenderersendtowebcontentsid-channel-args +[MessagePort]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort