foo-webview-sdk
    Preparing search index...

    Interface KeyboardSetReservedKeysParams

    Parameters for keyboard.setReservedKeys. Replace the calling page's reserved keys. While the page has the focus, the keys selected in the component preferences run the foobar2000 shortcuts bound to them; a reserved combination stays with the page even when foobar2000 has a shortcut for it. The list is cleared when the page navigates or reloads and when its window closes. A key string that does not parse fails with INVALID_PARAMS and leaves the list unchanged; passing an empty list releases all reserved keys. With all, every key stays with the page, for example while the page records a shortcut; F12 in development server mode and system-wide hotkeys are excluded, and F5 reloads the page unless a keydown listener calls preventDefault().

    interface KeyboardSetReservedKeysParams {
        all?: boolean;
        keys: string[];
    }
    Index
    all?: boolean

    Keep every key for the page, not only keys. A later call without it keeps only keys again.

    false
    
    keys: string[]

    Combinations to keep for the page, written like registerHotkey keys; duplicates are fine.