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

前端 未结 0 1081
心在旅途
心在旅途 2021-02-14 17:25

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

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