javascript - Can drag-and-drop layout not be implemented on the mobile terminal?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-06-28 09:29:02
0
4
954

If the first p and the second p are exchanged on the mobile terminal, the body will scroll down.

Currently I have no ideas and don’t want to reinvent the wheel.
Is there any effect like http://www.jq22.com/demo/drag...?


已解决
https://github.com/RubaXa/Sortable
曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(4)
我想大声告诉你

https://github.com/RubaXa/Sor...

仅有的幸福

Naturally it is achievable.
Replace the mousedown, mousemove, mouseup on the PC side with the touchstart, touchmove, touchend supported by the mobile side.

黄舟

Documentation on MDN

習慣沉默

Your online example jq has not been included. To achieve this effect, just use the jq sort plug-in

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template