coder
coder

Reputation: 1939

Drag and Drop functionality in PhoneGap?

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

Answers (3)

carparso
carparso

Reputation: 63

You need code which implement touch events such as: https://github.com/furf/jquery-ui-touch-punch

Upvotes: 0

user2134555
user2134555

Reputation:

Use jQueryUI as given here in these two documentations:

http://jqueryui.com/draggable/

http://jqueryui.com/droppable/

Upvotes: 2

Tony Jose
Tony Jose

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

Related Questions