foo-webview-sdk
    Preparing search index...

    Interface PortMessagePayload

    Payload of the port:message event. A message reached a port. Each receiving port gets its own event, sent to the window that opened it: port.postMessage reaches every other port on the sender's channel, the sender's own window included, and port.postMessageTo reaches one port.

    interface PortMessagePayload {
        message: JsonValue;
        portId: string;
        sourcePortId: string;
        sourceWindowId: string;
    }
    Index
    message: JsonValue

    The message as the sender passed it; never null.

    portId: string

    Id of the receiving port, one this window opened.

    sourcePortId: string

    Id of the sending port.

    sourceWindowId: string

    Id of the sending page's window; main when the sender cannot be matched to a window.