I am working in phonegap project
Touch events are taking time to do action
Can any one help me out to implement to touchstart and touchend
Touch events are taking time to do action
Can any one help me out to implement to touchstart and touchend
- 15 Posts
- 0 Reply Likes
Posted 9 years ago
- 1911 Posts
- 199 Reply Likes
Use the string "touchstart", rather than "click", anywhere you're binding events:
document.getElementById('myButton').addEventListener('touchstart', function (e) {
// do something
}, false);
- 15 Posts
- 0 Reply Likes
- 1911 Posts
- 199 Reply Likes
No. This is a feature of the underlying browser/webview component - either it is supported on the platform or not.
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers

