foo-webview-sdk
    Preparing search index...

    Interface WindowStateChangedPayload

    Payload of the window:stateChanged event. The main window was maximized, minimized, restored, activated or deactivated, or entered or left fullscreen; a popup sends it only when it enters or leaves fullscreen. It goes to every window, and windowId says which window changed: a page that only cares about its own window compares it with window.getCurrentWindowId. The main window sends it only when one of the four states differs from what it last sent.

    interface WindowStateChangedPayload {
        active: boolean;
        fullscreen: boolean;
        isActive: boolean;
        isFullscreen: boolean;
        isMaximized: boolean;
        isMinimized: boolean;
        maximized: boolean;
        minimized: boolean;
        windowId: string;
    }
    Index
    active: boolean

    Same as isActive.

    fullscreen: boolean

    Same as isFullscreen.

    isActive: boolean

    Whether the window is active.

    isFullscreen: boolean

    Whether the window is fullscreen.

    isMaximized: boolean

    Whether the window is maximized.

    isMinimized: boolean

    Whether the window is minimized.

    maximized: boolean

    Same as isMaximized.

    minimized: boolean

    Same as isMinimized.

    windowId: string

    Id of the window that changed: main for the main window, else the popup's id. The same value window.getCurrentWindowId gives that window's page.