foo-webview-sdk
    Preparing search index...

    Interface PortPostMessageToParams

    Parameters for port.postMessageTo. Send a message to one port, as a port:message event to that port's window. An unknown sending port fails with PORT_NOT_FOUND, a sending port of another window with PERMISSION_DENIED, an unknown target port with TARGET_NOT_FOUND, and a target window that did not take the event with OPERATION_FAILED.

    interface PortPostMessageToParams {
        message: JsonValue;
        portId: string;
        targetPortId: string;
    }
    Index
    message: JsonValue

    The message, delivered as message of the event. null counts as missing.

    portId: string

    Id of the sending port.

    targetPortId: string

    Id of the port to deliver to.