【问题标题】:JQuery ui - mobile: combine sortable with swipe eventJQuery ui - 移动:将可排序与滑动事件结合起来
【发布时间】:2016-10-26 10:31:18
【问题描述】:

您好,我正在尝试将 jquery-ui 的 .sortable 操作与移动设备上的滑动事件结合到一个 div 中。不幸的是,当 div 是 .sortable 时,它​​不会处理“滑动”事件。

有什么想法吗?

【问题讨论】:

    标签: jquery-ui jquery-mobile mobile swipe jquery-ui-sortable


    【解决方案1】:

    jQuery UI 目前不支持 touchevents。您可以使用将鼠标事件转换为触摸事件的插件,此处链接到HomepageGithub。这是我知道如何使 jQuery UI 小部件可触摸的唯一方法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-23
      • 2013-08-26
      • 2011-07-22
      • 2011-03-31
      • 2013-08-30
      • 1970-01-01
      • 2011-11-09
      • 1970-01-01
      相关资源
      最近更新 更多