javascript – Jquery draggable / droppable和sortable组合
我被要求创建一个正方形网格,其中每个正方形可能包含或不包含链接,这些链接应该能够围绕网格移动. 我认为draggable / droppable将是可行的方式并且它可以正常工作,但是,现在我们希望能够让draggables交换,如果一个被丢弃在另一个之上.所以它现在看起来像是可以排序的.但是,sortable看起来更像是列表的意思,而我没有像列表那样编写它. 有没有一种简单的方法来制作我到目前为止