Home  >  Q&A  >  body text

html5 - 移动端通过拖拽实现两个元素的位置互换

比如一个列表中有三条数据,可以通过拖拽改变三条数据的排列顺序

天蓬老师天蓬老师2718 days ago629

reply all(2)I'll reply

  • 黄舟

    黄舟2017-04-17 14:40:31

    This library is good https://github.com/bevacqua/d...

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 14:40:31

    You can use flex layout to change the order of the dragged element when dragging

    reply
    0
  • Cancelreply