foo-webview-sdk
    Preparing search index...

    Interface WindowSetMaxSizeParams

    Parameters for window.setMaxSize. Set a window's maximum size; 0 removes the bound and fractions are dropped. The host keeps it in DIPs of the target window, so it reads back within 1 px (0 exactly). A window larger than the new maximum shrinks at once, unless it is maximized, fullscreen or minimized. Fails in panel mode.

    interface WindowSetMaxSizeParams {
        height?: number;
        width?: number;
        windowId?: string;
    }
    Index
    height?: number

    Maximum height in physical pixels; 0 removes the bound.

    0
    
    width?: number

    Maximum width in physical pixels; 0 removes the bound.

    0
    
    windowId?: string

    Target window: main or a popup id; omitted or empty, the calling window. There is no fallback to the main window: a caller that is not one of the plugin's windows fails with NOT_FOUND, and a DUI/CUI panel with PANEL_MODE_UNSUPPORTED.