为了提高操作效率,同时保持良好的交互性,快捷键无疑是绝佳的前端体验。下来梁新在网上网络了一些前端基于JavaScript的快捷键JS库。
序号 | 名称 | 版本 | 最后更新时间 | 官网 | 说明 |
1 | jkey | 1.2 | http://oscargodson.github.io/jKey/ | 暂时无法下载 | |
2 | jQuery Hotkeys | 2013.11 | https://github.com/tzuryby/jquery.hotkeys | 兼容性好IE6+ | |
3 | keys | 1.0.2 | 2016.02 | https://github.com/bitwalker/keys.js/releases | 演示地址 |
4 | shortcut | 2.0.1B | http://www.openjs.com/scripts/events/keyboard_shortcuts/shortcut.js | ||
5 | keymage | 1.1.3 | 2016.01 | https://github.com/piranha/keymage | 仅1.6Kb |
6 | HotKeys | .8.1 | https://wangchujiang.com/hotkeys/?lang=cn | 推荐 |