Class: IWKeyboardEvent

IWKeyboardEvent

This class contains informations about the current key (down, press, up) event.

new IWKeyboardEvent()

Creates a new keyboard event.

Members


altKey :boolean

true if alt was pressed during this event, false otherwise
Type:
  • boolean

ctrlKey :boolean

true if ctrl was pressed during this event, false otherwise
Type:
  • boolean

keyCode :number

The number of the key from the last key event.
Type:
  • number

shiftKey :boolean

true if shift was pressed during this event, false otherwise
Type:
  • boolean

tagName :String

The tag name from the element which fires this event.
Type:
  • String

Methods


toString()

Returns a string representation of this mouse event.
Returns:
Type
String