foo-webview-sdk
    Preparing search index...

    Interface WindowFocusParams

    Parameters for window.focus. Bring a window to the foreground, restoring it first when minimized and showing it when hidden. An explicit id targets exactly that window; omission targets the caller's top-level window, including the host of a panel. Fails with NOT_FOUND when the target no longer exists. Supersedes older popup focus-restoration work without changing the popup's no-activate policy. Success means the request was made; Windows may refuse to grant the foreground.

    interface WindowFocusParams {
        windowId?: string;
    }
    Index
    windowId?: string

    main or a popup id. Omitted or empty, focus the caller's top-level window, including the foobar2000 host in DUI/CUI panel mode. An unknown explicit id fails with NOT_FOUND.