foo-webview-sdk
    Preparing search index...

    Interface WindowInfo

    One window of window.getAllWindows. The popup-only fields are absent for the main window.

    interface WindowInfo {
        backdropPolicy: Record<string, JsonValue>;
        behavior?: Record<string, JsonValue>;
        bounds: WindowBounds;
        capabilities: WindowObservationCapabilities;
        isMain: boolean;
        profile?: "standard" | "legacy" | "miniPlayer" | "desktopLyrics";
        resolvedBackdropPolicy: WindowBackdropPolicyState;
        resolvedBehavior?: WindowPopupBehaviorState;
        shell: JsonValue;
        title: string;
        url?: string;
        windowId: string;
    }
    Index
    backdropPolicy: Record<string, JsonValue>

    The backdrop policy overrides set on the window.

    behavior?: Record<string, JsonValue>

    Popups only: the behavior overrides set on the popup.

    bounds: WindowBounds

    The window rectangle.

    Features the window supports.

    isMain: boolean

    Whether this is the main window.

    profile?: "standard" | "legacy" | "miniPlayer" | "desktopLyrics"

    Popups only: the behavior preset; legacy when the popup was created without one.

    resolvedBackdropPolicy: WindowBackdropPolicyState

    The backdrop policy in effect.

    resolvedBehavior?: WindowPopupBehaviorState

    Popups only: the behavior in effect.

    shell: JsonValue

    Diagnostic snapshot of the window shell (lifecycle and startup state); its shape can change between versions.

    title: string

    Window title.

    url?: string

    Popups only: initial URL specified when the popup was created.

    windowId: string

    main or the popup id.