How to make button call function on tap an hold and call another function when released in javascript(for touch devices)

前端 未结 0 1796
攒了一身酷
攒了一身酷 2021-02-14 17:41

I tried to do this with onmousedown and onmouseup methods however this doesn\'t work the square keeps moving in canvas.I would like to know if i can ac

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