Skip to main content

KeyboardEventInit

Extends

Properties

altKey?

optional altKey?: boolean;

Inherited from

EventModifierInit.altKey


bubbles?

optional bubbles?: boolean;

Inherited from

EventModifierInit.bubbles


cancelable?

optional cancelable?: boolean;

Inherited from

EventModifierInit.cancelable


charCode?

optional charCode?: number;

Deprecated

charCode is inconsistent across environments, consider using key instead.


code?

optional code?: string;

composed?

optional composed?: boolean;

Inherited from

EventModifierInit.composed


ctrlKey?

optional ctrlKey?: boolean;

Inherited from

EventModifierInit.ctrlKey


detail?

optional detail?: number;

Inherited from

EventModifierInit.detail


isComposing?

optional isComposing?: boolean;

key?

optional key?: string;

keyCode?

optional keyCode?: number;

Deprecated

keyCode is inconsistent across environments, consider using key instead.


location?

optional location?: number;

metaKey?

optional metaKey?: boolean;

Inherited from

EventModifierInit.metaKey


modifierAltGraph?

optional modifierAltGraph?: boolean;

Inherited from

EventModifierInit.modifierAltGraph


modifierCapsLock?

optional modifierCapsLock?: boolean;

Inherited from

EventModifierInit.modifierCapsLock


modifierFn?

optional modifierFn?: boolean;

Inherited from

EventModifierInit.modifierFn


modifierFnLock?

optional modifierFnLock?: boolean;

Inherited from

EventModifierInit.modifierFnLock


modifierHyper?

optional modifierHyper?: boolean;

Inherited from

EventModifierInit.modifierHyper


modifierNumLock?

optional modifierNumLock?: boolean;

Inherited from

EventModifierInit.modifierNumLock


modifierScrollLock?

optional modifierScrollLock?: boolean;

Inherited from

EventModifierInit.modifierScrollLock


modifierSuper?

optional modifierSuper?: boolean;

Inherited from

EventModifierInit.modifierSuper


modifierSymbol?

optional modifierSymbol?: boolean;

Inherited from

EventModifierInit.modifierSymbol


modifierSymbolLock?

optional modifierSymbolLock?: boolean;

Inherited from

EventModifierInit.modifierSymbolLock


repeat?

optional repeat?: boolean;

shiftKey?

optional shiftKey?: boolean;

Inherited from

EventModifierInit.shiftKey


view?

optional view?: Window | null;

Inherited from

EventModifierInit.view


which?

optional which?: number;

Deprecated

Inherited from

EventModifierInit.which