IpcMainInvokeEvent 对象继承自 Event
type
字符串 - 可能的值包括frame
processId
整数 - 发送此消息的渲染器进程的内部 IDframeId
整数 - 发送此消息的渲染器帧的 IDsender
WebContents - 返回发送消息的webContents
senderFrame
WebFrameMain | null 只读 - 发送此消息的帧。如果帧已导航或已销毁,则可能为null
。
Event
type
字符串 - 可能的值包括 frame
processId
整数 - 发送此消息的渲染器进程的内部 IDframeId
整数 - 发送此消息的渲染器帧的 IDsender
WebContents - 返回发送消息的 webContents
senderFrame
WebFrameMain | null 只读 - 发送此消息的帧。如果帧已导航或已销毁,则可能为 null
。