foo-webview-sdk
    Preparing search index...

    Interface WindowSetFullscreenParams

    Parameters for window.setFullscreen. Enter or leave fullscreen. Setting the state the window already has succeeds. Leaving fullscreen restores the rectangle, the maximized state and the always-on-top state the window had before. Fails in panel mode.

    interface WindowSetFullscreenParams {
        enabled?: boolean;
        windowId?: string;
    }
    Index
    enabled?: boolean

    true to enter fullscreen, false to leave it.

    true
    
    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.