foo-webview-sdk
    Preparing search index...

    Interface KeyboardRegisterShortcutParams

    Parameters for keyboard.registerShortcut. Store a key combination under the given action name. Nothing matches key presses against stored shortcuts. It is listed by getRegisteredHotkeys with id 0 and removed by unregisterHotkey with the key.

    Has no effect and will be removed in 3.0; listen for keydown in the page instead.

    interface KeyboardRegisterShortcutParams {
        action: string;
        key: string;
    }
    Index
    action: string

    Action name stored with the shortcut.

    key: string

    The combination to store.