Nutrient Web SDK

ReferenceKeyboardShortcutScope

Type Alias KeyboardShortcutScope

Discriminated union describing the SDK's keyboard-shortcut scope. See the keyboardShortcutScope field of Configuration for usage and examples.

Type Alias
Type Signature
type KeyboardShortcutScope =
    | { scope: "viewer" }
    | {
        interceptedActions: (
            "SEARCH"
            | "PRINT"
            | "ZOOM"
            | "UNDO"
            | "REDO"
            | "PAGINATION"
        )[];
        scope: "global";
    }