mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-09 06:12:34 -05:00
Edits to KeyEvent documentation
This commit is contained in:
parent
65fa7fb01d
commit
fb36a275ac
1 changed files with 4 additions and 4 deletions
|
@ -39,22 +39,22 @@ var KeyEvent = this.KeyEvent = Event.extend(new function() {
|
||||||
/**
|
/**
|
||||||
* The type of key event.
|
* The type of key event.
|
||||||
*
|
*
|
||||||
* @return {string} the type of key event: 'keydown' or 'keyup'
|
|
||||||
* @name KeyEvent#type
|
* @name KeyEvent#type
|
||||||
|
* @type String('keydown', 'keyup')
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The string character of the key that caused this key event.
|
* The string character of the key that caused this key event.
|
||||||
*
|
*
|
||||||
* @name KeyEvent#character
|
* @name KeyEvent#character
|
||||||
* @return {string} the key character.
|
* @type string
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies the virtual key code of the key that caused this key event.
|
* The key that caused this key event.
|
||||||
*
|
*
|
||||||
* @name KeyEvent#key
|
* @name KeyEvent#key
|
||||||
* @return the virtual key code.
|
* @type string
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue