📌  相关文章
📜  检查是否按下了 shift 和 tab 键 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:23.280000             🧑  作者: Mango

代码示例1
There's no "keycode", it's a separate property on the event object, like this:

if(event.shiftKey && event.keyCode == 9) { 
  //shift was down when tab was pressed
}