foo-webview-sdk
    Preparing search index...

    Interface PortDisconnectedPayload

    Payload of the port:disconnected event. A port closed: port.disconnect closed it, or the page that opened it started a top-level navigation or went away with its WebView (popup closed, panel removed, WebView rebuilt), which closes all of that page's ports. Every window receives it; a page that closes by navigating receives its own ports' events only if they arrive before it unloads.

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

    The channel name the port was on.

    portId: string

    Id of the port that closed.

    windowId: string

    Id of the window that opened the port.