foo-webview-sdk
    Preparing search index...

    Interface WindowSetMaximizeButtonRegionSuccess

    Successful response from window.setMaximizeButtonRegion.

    interface WindowSetMaximizeButtonRegionSuccess {
        hasRegion: boolean;
        scale: number;
        snapLayouts: boolean;
        success: true;
    }
    Index
    hasRegion: boolean

    Whether an active maximize button rectangle is registered.

    scale: number

    Scale applied to the rectangle, the page's devicePixelRatio: the window's DPI divided by 96, times the Windows text size and the page zoom.

    snapLayouts: boolean

    Whether the system provides Windows 11 Snap layouts. When false, the host never reports this area as the maximize button. When true, avoid using HTML title tooltips on the button as they obstruct the Snap flyout; use aria-label instead.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.