Drag and Drop in MobileSafari?

前端 未结 3 1038
甜味超标
甜味超标 2020-12-13 16:13

Is it possible to allow users to drag and drop items in mobile safari? Google images on the iPhone does something similar, but I\'m not sure if it is true drag and drop or s

相关标签:
3条回答
  • 2020-12-13 17:05

    In general, yes. Mobile Safari supports most of the standard mouse events for touches (as well as some specific touch-related events). Others, like mouseover, it doesn't support at all. You can get more specific information in the Safari Web Content Guide.

    0 讨论(0)
  • 2020-12-13 17:12

    Yes, it's possible. You have to disable the default of safari moving around. A few examples and links that might help you: http://tlrobinson.net/iphone/lighttable/ http://rossboucher.com/2008/08/19/iphone-touch-events-in-javascript/

    0 讨论(0)
  • 2020-12-13 17:15

    Try kinetic.js. Works great on both iOS and Android. A number of tutorials including a few applications are also available.

    0 讨论(0)
提交回复
热议问题