質問

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?
役に立ちましたか?

解決

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.

他のヒント

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:

jQuery Mobile

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top