Reputation: 1939
How is the drag and drop functionality implemented in PhoneGap?
I tried using the Native HTML5's new drag and drop feature, but that doesn't works.
Upvotes: 3
Views: 6377
Reputation: 63
You need code which implement touch events such as: https://github.com/furf/jquery-ui-touch-punch
Upvotes: 0
Reputation:
Use jQueryUI as given here in these two documentations:
http://jqueryui.com/draggable/
http://jqueryui.com/droppable/
Upvotes: 2
Reputation: 1664
Drag and drop feature can be added by using jQuery UI, and we have implemented this in web, android and iOS applications(Using phonegap also). So go ahead with this and please refer the following links,
http://jqueryui.com/draggable/ http://jqueryui.com/droppable/
Upvotes: 2