Open ovidiuch opened 10 years ago
Touch Events are so finicky that I'd rather require something like WebDriver for testing touch. Also, we don't ever want to code specifically to Touch Events in jQuery projects, we want to abstract to Pointer Events.
Do you have an example of a Pointer Events abstraction? Thanks
On Tuesday, January 21, 2014, Scott González notifications@github.com wrote:
Touch Events are so finicky that I'd rather require something like WebDriver for testing touch. Also, we don't ever want to code specifically to Touch Events in jQuery projects, we want to abstract to Pointer Events.
— Reply to this email directly or view it on GitHubhttps://github.com/jquery/jquery-simulate/issues/19#issuecomment-32901484 .
Best regards, Ovidiu Cherecheş
We're working on one in https://github.com/jquery/jquery-pointer-events which builds on top of Polymer.
Nice, I'll bookmark that project. Polymer seems pretty promising also, but for the time being, except for using a WebDriver, I have no way of testing touch-enabled components. Even if I had an abstraction for unifying the logic behind it, the input to test shouldn't be a part of my abstraction but something that the browser provides, like a touchmove event..
Any prospects or debate on this? Would be very useful to have touchstart, touchmove, touchend etc.