+ 1
How can I get a button to do something when itâs HELD, not clicked
3 Answers
+ 3
What you can do is you can use an onclick event attribute and an onrelease event attribute. That will work I guess.
+ 1
The event is mousedown
Simple way is onmousedown
It doesn't work on app, you'll need to add ontouchdown too
0
thanks