foo-webview-sdk
    Preparing search index...

    Interface WindowSetMicaEffectParams

    Parameters for window.setMicaEffect. Same as window.setMica.

    interface WindowSetMicaEffectParams {
        darkMode?: boolean;
        enabled?: boolean;
        variant?: string;
        windowId?: string;
    }
    Index
    darkMode?: boolean

    Dark (true) or light (false) backdrop; omitted, unchanged.

    enabled?: boolean

    true shows Mica; false removes the backdrop set through setMica or setAcrylic.

    true
    
    variant?: string

    mica-alt for the tabbed variant; any other value is mica.

    "mica"
    
    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.