jwerty - Awesome handling of keyboard events è¤éãªãã¼ãã¼ãã¤ãã³ããè¶ ç°¡åå®è£ ãå¯è½ãªJSã©ã¤ãã©ãªãjwertyã ä¾ãã°æ¬¡ã®ãããªã³ã¼ãã«ãã£ã¦Ctrl+Shift+pã®ãã¼ã«ã³ã¼ã«ããã¯ãªã©ã§ã¢ã¯ã·ã§ã³ãæå®ãããã¨ãå¯è½ã§ãã // prevents 'ctrl+shift+p''s default action jwerty.key('ctrl+shift+p', false); // outputs "print!" to the console when pressed. jwerty.key('ctrl+shift+p', function () { console.log('print!') }); // will prevent the shortcut from running, only when '#myInput'
{{#tags}}- {{label}}
{{/tags}}