Closed lukemelia closed 12 years ago
In case it helps think this through, here is my attempt to implement tapHold on the current API. https://gist.github.com/7233de37f8aae7a47d3b
Closing it, TouchHoldGestureRecognizer has been included with the last merge.
Please, reopen it or create a new one if you are still experiencing any issues.
I'm attempting to implement a discrete tapHold event where I look for a touchStart, movement within a threshold, and no touchEnd before a given time threshold. If the time threshold passes, I want to trigger my tapHoldEnd event. Currently, the only nice mechanism to fire the event is by implementing shouldEnd, but that doesn't get called until touchEnd. There should be a mechanism to proactively trigger a discrete event.