Switch case for event listeners sometimes retriggers event

前端 未结 0 1682
遥遥无期
遥遥无期 2021-01-02 09:49

I\'m using a switch statement to handle keydown events for a music player app. Sometimes when you press spacebar, it results in the event retriggering (you can see what I me

相关标签:
回答
  • 消灭零回复
提交回复
热议问题