Interface KeyboardEventInit
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?: Window;
which?: number;
}
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?: Window;
which?: number;
}
Hierarchy
- EventModifierInit
- KeyboardEventInit (view full)
Index
Properties
altKey?
bubbles?
cancelable?
charCode?
code?
composed?
ctrlKey?
detail?
isComposing?
key?
keyCode?
location?
metaKey?
modifierAltGraph?
modifierCapsLock?
modifierFn?
modifierFnLock?
modifierHyper?
modifierNumLock?
modifierScrollLock?
modifierSuper?
modifierSymbol?
modifierSymbolLock?
repeat?
shiftKey?
view?
which?
Properties
Optional
altKey
altKey ?: boolean
Optional
bubbles
bubbles?: boolean
Optional
cancelable
cancelable?: boolean
Optional
charCode
charCode ?: number
Optional
code
code?: string
Optional
composed
composed?: boolean
Optional
ctrlKey
ctrlKey ?: boolean
Optional
detail
detail?: number
Optional
isComposing
isComposing ?: boolean
Optional
key
key?: string
Optional
keyCode
keyCode ?: number
Optional
location
location?: number
Optional
metaKey
metaKey ?: boolean
Optional
modifierAltGraph
modifierAltGraph ?: boolean
Optional
modifierCapsLock
modifierCapsLock ?: boolean
Optional
modifierFn
modifierFn ?: boolean
Optional
modifierFnLock
modifierFnLock ?: boolean
Optional
modifierHyper
modifierHyper ?: boolean
Optional
modifierNumLock
modifierNumLock ?: boolean
Optional
modifierScrollLock
modifierScrollLock ?: boolean
Optional
modifierSuper
modifierSuper ?: boolean
Optional
modifierSymbol
modifierSymbol ?: boolean
Optional
modifierSymbolLock
modifierSymbolLock ?: boolean
Optional
repeat
repeat?: boolean
Optional
shiftKey
shiftKey ?: boolean
Optional
view
Optional
which
which?: number
Deprecated