Header menu logo fable-electron-docs-api

IpcMainInvokeEvent Type

Constructors

Constructor Description

IpcMainInvokeEvent(type, processId, frameId, sender, senderFrame)

Full Usage: IpcMainInvokeEvent(type, processId, frameId, sender, senderFrame)

Parameters:
    type : Type - Possible values include frame
    processId : int - The internal ID of the renderer process that sent this message
    frameId : int - The ID of the renderer frame that sent this message
    sender : WebContents - Returns the webContents that sent the message
    senderFrame : Option<WebFrameMain> - The frame that sent this message. May be null if accessed after the frame has either navigated or been destroyed.

Returns: IpcMainInvokeEvent
type : Type

Possible values include frame

processId : int

The internal ID of the renderer process that sent this message

frameId : int

The ID of the renderer frame that sent this message

sender : WebContents

Returns the webContents that sent the message

senderFrame : Option<WebFrameMain>

The frame that sent this message. May be null if accessed after the frame has either navigated or been destroyed.

Returns: IpcMainInvokeEvent

Instance members

Instance member Description

this.frameId

Full Usage: this.frameId

The ID of the renderer frame that sent this message

this.processId

Full Usage: this.processId

The internal ID of the renderer process that sent this message

this.sender

Full Usage: this.sender

Returns the webContents that sent the message

this.senderFrame

Full Usage: this.senderFrame

Returns: Option<WebFrameMain>

The frame that sent this message. May be null if accessed after the frame has either navigated or been destroyed.

Returns: Option<WebFrameMain>

this.type

Full Usage: this.type

Possible values include frame

Type something to start searching.