Robust keyboard shortcut handling using JavaScript

前端 未结 5 361
轮回少年
轮回少年 2020-12-17 04:07

What\'s the most robust way of creating a global keyboard shortcut handler for a Web application using JavaScript i.e. which event(s) should I handle and what should the eve

5条回答
  •  有刺的猬
    2020-12-17 04:16

    There is also new JavaScript library called jwerty, it's easy to use and doesn't rely on jQuery.

提交回复
热议问题