foo-webview-sdk
    Preparing search index...

    Interface WindowMessagePayload

    Payload of the window:message event. A page sent a message with window.sendMessage or window.broadcast. A directed message goes only to the named window; a broadcast goes to every window except the sender's, or to every window when the sender's window cannot be found.

    interface WindowMessagePayload {
        message: JsonValue;
        sourceWindowId: string;
    }
    Index
    message: JsonValue

    The message as the sender passed it.

    sourceWindowId: string

    Id of the sending page's window: main, a popup id or a panel id; main when the sender cannot be matched to a window.