简体   繁体   English

是否有适用于iPad和PC的JavaScript拖放功能

[英]Is there a javascript drag&drop that works on iPad and PC

I am looking for a javascript plugin that supports drag and drop for both touch and mouse enabled devices (IOS, Andriod) (PC, Mac). 我正在寻找一个支持拖放功能的javascript插件,以支持启用触摸和鼠标的设备(IOS,Andriod)(PC,Mac)。

Example for touch: http://www.midemos.com/demos/iphone/touch/?/iphone/touch/ 触摸示例: http : //www.midemos.com/demos/iphone/touch/?/iphone/ touch /

Example for mouse: http://jqueryui.com/demos/draggable/ 鼠标示例: http : //jqueryui.com/demos/draggable/

Is there a plugin that supports drag drop across touch and mouse based devices? 是否有一个支持在基于触摸和鼠标的设备上拖放的插件?

I understand touch devices uses different events, but I dont see a reason why a plugin can't support both interfaces. 我了解触摸设备会使用不同的事件,但是我看不出插件不能同时支持两个接口的原因。

Thanks. 谢谢。

该问题的一些答案可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM