Interface IKeyboardEvent
Hierarchy
-
IUIEvent
- IKeyboardEvent
Index
Properties
alt KeySearch playground for altKey
Status of Alt key being pressed
Optional char CodeSearch playground for charCode
Unicode value of character pressed
codeSearch playground for code
Code for key based on layout
ctrl KeySearch playground for ctrlKey
Status of Ctrl key being pressed
Optional current TargetSearch playground for currentTarget
Current target for an event
detailSearch playground for detail
Provides current click count
keySearch playground for key
String representation of key
key CodeSearch playground for keyCode
ASCII value of key
meta KeySearch playground for metaKey
Status of Meta key (eg. Windows key) being pressed
pageXSearch playground for pageX
Horizontal coordinate of event
pageYSearch playground for pageY
Vertical coordinate of event
prevent DefaultSearch playground for preventDefault
Tells user agent what to do when not explicitly handled
Type declaration
-
-
Returns void
-
shift KeySearch playground for shiftKey
Status of Shift key being pressed
Optional src ElementSearch playground for srcElement
Alias for target
targetSearch playground for target
Reference to object where object was dispatched
typeSearch playground for type
Type of event
Native friendly interface for KeyboardEvent Object