- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i just build an app with intelxdk, and it works great. Now i want to add some gesture, but the device don't recognize nothing. I tried with "onmousedown", "ondbclick" and "drag and drop". Every one talk about gesture_viewer demo inside intelxdk, but i can't find it. Can you send me some link or manual please
best regards
Alberto
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I´m using jquery.ui.touch-punch.min.js to drag objects. I don´t know if there is another or better way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jquery.ui.touch-punch is a simple way to make touch events behave like click events.
If you want something fancier, look into HammerJS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone, and thank you for the answer.
What you suggested is exactly what I have in mind, but I was hoping it could be done without jquery.
I implemented the event onlongtap following this guide
https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Touch_events#Example
but still not have solution for th drag and drop event. I will Continue to work, but if I do not find a solution I will use jquery. Any other suggestions are welcome. Thank you very much
Alberto

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page