KeyboardEvent
Properties
altKey
:
altLeft
:
char
:
charCode
:
ctrlKey
:
ctrlLeft
:
key
:
keyCode
:
location
:
metaKey
:
repeat
:
shiftKey
:
which
:
Methods
- getModifierState
- Queries the state of the specified modifier key.
- initKeyboardEvent
- Initializes a new keyboard event that the createEvent method created.
Events
keydown
:
- keypress
- Deprecated event for detecting when a key was pressed on the keyboard.
keyup
:
Inherited from UIEvent
Properties
- detail
Gets additional, developer defined, information about an event.
- view
Gets the window object that an event is generated from.
[object window]
Methods
- initUIEvent
- Initializes a new user interface event that the createEvent method created.
Events
- abort
- Fires when the user aborts the download.
- activate
- Fires when the object is set as the active element.
Standards information
- Document Object Model (DOM) Level 3 Events Specification, Section 5.2.6
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]