Hierarchy

  • IKeyboardEvent

Index

Properties

altKey

altKey: boolean

browserEvent

browserEvent: KeyboardEvent

code

code: string

ctrlKey

ctrlKey: boolean

keyCode

keyCode: KeyCode.Unknown | KeyCode.Backspace | KeyCode.Tab | KeyCode.Enter | KeyCode.Shift | KeyCode.Ctrl | KeyCode.Alt | KeyCode.PauseBreak | KeyCode.CapsLock | KeyCode.Escape | KeyCode.Space | KeyCode.PageUp | KeyCode.PageDown | KeyCode.End | KeyCode.Home | KeyCode.LeftArrow | KeyCode.UpArrow | KeyCode.RightArrow | KeyCode.DownArrow | KeyCode.Insert | KeyCode.Delete | KeyCode.KEY_0 | KeyCode.KEY_1 | KeyCode.KEY_2 | KeyCode.KEY_3 | KeyCode.KEY_4 | KeyCode.KEY_5 | KeyCode.KEY_6 | KeyCode.KEY_7 | KeyCode.KEY_8 | KeyCode.KEY_9 | KeyCode.KEY_A | KeyCode.KEY_B | KeyCode.KEY_C | KeyCode.KEY_D | KeyCode.KEY_E | KeyCode.KEY_F | KeyCode.KEY_G | KeyCode.KEY_H | KeyCode.KEY_I | KeyCode.KEY_J | KeyCode.KEY_K | KeyCode.KEY_L | KeyCode.KEY_M | KeyCode.KEY_N | KeyCode.KEY_O | KeyCode.KEY_P | KeyCode.KEY_Q | KeyCode.KEY_R | KeyCode.KEY_S | KeyCode.KEY_T | KeyCode.KEY_U | KeyCode.KEY_V | KeyCode.KEY_W | KeyCode.KEY_X | KeyCode.KEY_Y | KeyCode.KEY_Z | KeyCode.Meta | KeyCode.ContextMenu | KeyCode.F1 | KeyCode.F2 | KeyCode.F3 | KeyCode.F4 | KeyCode.F5 | KeyCode.F6 | KeyCode.F7 | KeyCode.F8 | KeyCode.F9 | KeyCode.F10 | KeyCode.F11 | KeyCode.F12 | KeyCode.F13 | KeyCode.F14 | KeyCode.F15 | KeyCode.F16 | KeyCode.F17 | KeyCode.F18 | KeyCode.F19 | KeyCode.NumLock | KeyCode.ScrollLock | KeyCode.US_SEMICOLON | KeyCode.US_EQUAL | KeyCode.US_COMMA | KeyCode.US_MINUS | KeyCode.US_DOT | KeyCode.US_SLASH | KeyCode.US_BACKTICK | KeyCode.US_OPEN_SQUARE_BRACKET | KeyCode.US_BACKSLASH | KeyCode.US_CLOSE_SQUARE_BRACKET | KeyCode.US_QUOTE | KeyCode.OEM_8 | KeyCode.OEM_102 | KeyCode.NUMPAD_0 | KeyCode.NUMPAD_1 | KeyCode.NUMPAD_2 | KeyCode.NUMPAD_3 | KeyCode.NUMPAD_4 | KeyCode.NUMPAD_5 | KeyCode.NUMPAD_6 | KeyCode.NUMPAD_7 | KeyCode.NUMPAD_8 | KeyCode.NUMPAD_9 | KeyCode.NUMPAD_MULTIPLY | KeyCode.NUMPAD_ADD | KeyCode.NUMPAD_SEPARATOR | KeyCode.NUMPAD_SUBTRACT | KeyCode.NUMPAD_DECIMAL | KeyCode.NUMPAD_DIVIDE | KeyCode.KEY_IN_COMPOSITION | KeyCode.ABNT_C1 | KeyCode.ABNT_C2 | KeyCode.MAX_VALUE

metaKey

metaKey: boolean

shiftKey

shiftKey: boolean

target

target: HTMLElement

Methods

equals

  • equals(keybinding: number): boolean

preventDefault

  • preventDefault(): void

stopPropagation

  • stopPropagation(): void