Why does my “EventListener” Function only executes once?

后端 未结 0 1130
日久生厌
日久生厌 2021-01-06 05:25

Why does this only run once and not every time my mouse moves?

window.addEventListener("mousemove", function(e) {

   let x = e.clientX; 
   l         


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