View Single Post
Old 12-30-2018, 10:18 AM   #1
Belkaar
Junior Member
Belkaar began at the beginning.
 
Posts: 9
Karma: 32
Join Date: Nov 2011
Device: Kindle 4
Can't capture long press / hold

Hello there,

I'm working on a Smarthome Display based on Weblaunch, but I have a huge problem:

I can't get onMouseDown or onTouchStart events in javascript. If i tap shortly on a button i get the onMouseDown and onClick events, but if you press for longer, i get no events at all, not even after releasing.

Is there any way to capture those?

Because of the slow display changes, people assume you need to hold down a button until something happens :-)

- Belkaar
Belkaar is offline   Reply With Quote