Phonegap doesn't have any extra events but there are JS libraires that can do what you want you are looking for. I'm not the creator or affilate with this at all, but Hammer.js is really neat. I used on multiple Phonegap projects. It allows tap, hold, release, swipe, etc.
What events are supported by Phonegap/Cordova besides the ones listed in the API?
-
30-05-2022 - |
Question
I was going through the phonegap/cordova API documentation and I couldn't find the touchstart
and touchend
events listed.
I was wondering:
- Are there any official docs for these events?
- Are there any other events that aren't listed in the API?
Solution
OTHER TIPS
This API are the official for PhoneGap.You can use the only this events that are listed into this application.But,apart from this,you are developing an PhoneGap application.So you must require javaScript and jQuery.You can use javascript and jQuery events into your application.It will works into the devices.
Also,there is an jQuery Mobile for the development of the PhoneGap application.This library is work on all the devices.You will also found touchstart
and touchend
events here.
Here is the link:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow