foo-webview-sdk
    Preparing search index...

    Interface PortConnectedPayload

    Payload of the port:connected event. port.connect opened a port. Every window receives it, the opener's included.

    interface PortConnectedPayload {
        name: string;
        portId: string;
        windowId: string;
    }
    Index
    name: string

    The channel name.

    portId: string

    Id of the new port, as port.connect returned it.

    windowId: string

    Id of the window that opened the port; main when the caller cannot be matched to a window.