开发者

Drag and drop for web application on iPhone/android device

开发者 https://www.devze.com 2023-03-14 07:46 出处:网络
I am working on a web application which has to work on iPhone,android as well as desktop browser.I should integrate drag and drop functi开发者_Go百科onality for several images on the webpage.There sho

I am working on a web application which has to work on iPhone,android as well as desktop browser.I should integrate drag and drop functi开发者_Go百科onality for several images on the webpage.There should also be several droppables to accept these images.I have tried jQuery's Draggable and Droppable features to implement this, but that is working fine only on desktop but not on iPhone/Android devices.This link and one more link are the sources of libraries that i used for drag and drop.Can any one please let me know are there any libraries/APIs which offer the same functionality as jQuery's drag and drop for touch sensitive devices like iPhone/Android along with desktop.Thanks in advance.


If you are using AngularJS, this seems to work great in Chrome on Android. I'm not sure about iOS.

Demos - http://jimliu.github.io/angular-ui-tree/index.html

Repo with documentation - https://github.com/JimLiu/angular-ui-tree


I'm sorry but i'm afraid is not possible to do drag and drop on a web application for android/iphone my recommendation is make an app for android/iphone and implement the drag and drop there.

0

精彩评论

暂无评论...
验证码 换一张
取 消