interface KeyboardEventInit {
    altKey?: boolean;
    bubbles?: boolean;
    cancelable?: boolean;
    charCode?: number;
    code?: string;
    composed?: boolean;
    ctrlKey?: boolean;
    detail?: number;
    isComposing?: boolean;
    key?: string;
    keyCode?: number;
    location?: number;
    metaKey?: boolean;
    modifierAltGraph?: boolean;
    modifierCapsLock?: boolean;
    modifierFn?: boolean;
    modifierFnLock?: boolean;
    modifierHyper?: boolean;
    modifierNumLock?: boolean;
    modifierScrollLock?: boolean;
    modifierSuper?: boolean;
    modifierSymbol?: boolean;
    modifierSymbolLock?: boolean;
    repeat?: boolean;
    shiftKey?: boolean;
    view?: null | Window;
    which?: number;
}

Hierarchy (view full)

Properties

altKey?: boolean
bubbles?: boolean
cancelable?: boolean
charCode?: number

Deprecated

code?: string
composed?: boolean
ctrlKey?: boolean
detail?: number
isComposing?: boolean
key?: string
keyCode?: number

Deprecated

location?: number
metaKey?: boolean
modifierAltGraph?: boolean
modifierCapsLock?: boolean
modifierFn?: boolean
modifierFnLock?: boolean
modifierHyper?: boolean
modifierNumLock?: boolean
modifierScrollLock?: boolean
modifierSuper?: boolean
modifierSymbol?: boolean
modifierSymbolLock?: boolean
repeat?: boolean
shiftKey?: boolean
view?: null | Window
which?: number

Deprecated