IpcMainInvokeEvent 对象继承自 Event
typeString - 可能的值包括frameprocessIdInteger - 发送此消息的渲染器进程的内部 IDframeIdInteger - 发送此消息的渲染器帧的 IDsenderWebContents - 返回发送消息的webContentssenderFrameWebFrameMain | null 只读 - 发送此消息的帧。如果该帧已导航或已被销毁后访问,则可能为null。
Eventtype String - 可能的值包括 frameprocessId Integer - 发送此消息的渲染器进程的内部 IDframeId Integer - 发送此消息的渲染器帧的 IDsender WebContents - 返回发送消息的 webContentssenderFrame WebFrameMain | null 只读 - 发送此消息的帧。如果该帧已导航或已被销毁后访问,则可能为 null。