Options
All
  • Public
  • Public/Protected
  • All
Menu

Native friendly interface for KeyboardEvent Object

Hierarchy

Index

Properties

altKey: boolean

Status of Alt key being pressed

charCode?: number

Unicode value of character pressed

deprecated

Required for event, use keyCode instead.

code: string

Code for key based on layout

ctrlKey: boolean

Status of Ctrl key being pressed

currentTarget?: any

Current target for an event

inputIndex: number

Input array index

key: string

String representation of key

keyCode: number

ASCII value of key

deprecated

Used with DeviceSourceManager

metaKey: boolean

Status of Meta key (eg. Windows key) being pressed

shiftKey: boolean

Status of Shift key being pressed

srcElement?: any

Alias for target

deprecated

Use target instead

target: any

Reference to object where object was dispatched

type: string

Type of event

Methods

  • preventDefault(): void
  • Tells user agent what to do when not explicitly handled

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme