foo-webview-sdk
    Preparing search index...

    Interface WindowSetMinSizeParams

    Parameters for window.setMinSize. Set a window's minimum size; fractions are dropped. The host keeps it in DIPs of the target window, so it reads back within 1 px. A window smaller than the new minimum grows at once, unless it is maximized, fullscreen or minimized (a minimized window grows when restored). Fails in panel mode.

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

    Minimum height in physical pixels; 0 or less lowers it to 1 DIP.

    0
    
    width?: number

    Minimum width in physical pixels; 0 or less lowers it to 1 DIP.

    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.