This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @class | |
* @name App | |
* | |
* @description Instance the main application | |
*/ | |
class App { | |
/** | |
* @constructor | |
* @description create and return a App instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('keydown', function(e){ | |
console.log("input keydown"); | |
console.log("which: " + e.which); | |
console.log("keyCode: " + e.keyCode); | |
console.log("charCode: " + e.charCode); | |
}); |