Class KeyboardEvent

Hierarchy

Implements

Constructors

Properties

AT_TARGET: 2 = ...
BUBBLING_PHASE: 3 = ...
CAPTURING_PHASE: 1 = ...
DOM_KEY_LOCATION_LEFT: 1 = ...
DOM_KEY_LOCATION_NUMPAD: 3 = ...
DOM_KEY_LOCATION_RIGHT: 2 = ...
DOM_KEY_LOCATION_STANDARD: 0 = ...
NONE: 0 = ...
bubbles: boolean
cancelBubble: boolean
cancelable: boolean
charCode: number
composed: boolean
currentTarget: null | EventTarget
defaultPrevented: boolean
detail: number
eventPhase: number
isComposing: boolean
isTrusted: boolean
keyCode: number
location: number
repeat: boolean
returnValue: boolean
srcElement: null | EventTarget
target: null | EventTarget
timeStamp: number
type: string
view: null
which: number
AT_TARGET: 2 = ...
BUBBLING_PHASE: 3 = ...
CAPTURING_PHASE: 1 = ...
NONE: 0 = ...

Accessors

  • get altKey(): boolean
  • Returns boolean

  • get code(): string
  • Returns string

  • get ctrlKey(): boolean
  • Returns boolean

  • get key(): string
  • Returns string

  • get metaKey(): boolean
  • Returns boolean

  • get shiftKey(): boolean
  • Returns boolean

Methods

  • Returns boolean

  • Parameters

    • type: string
    • Optional bubbles: boolean
    • Optional cancelable: boolean

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

Generated using TypeDoc