jquery sortable参数说明

$('.selected')--在该对象内拖动,该对象必须设置高度,否则可能只能将对象移到最顶和最末. 

accept--  需要被移动对象的classname 
activeclass -- 移动时的样式 
hoverclass -- 移动经过时的样式 

helperclass  -- 放置移动对象的目标位置样式 
opacity  -- 移动时的透明度 
ghosting -- 为真时,helpercall对象将有一份操作对象的复制 
tolerance 'pointer', 'intersect' or 'fit' 
fit  --  boolean 
fx 释放时的动画速度 
onchange (change) --  function(event, ui)  对象位置改变时触发 

floats -- 对象是否float 
containment  -- (parent)只可以在父容器中移动 
axis  -- 
handle -- 拖动指定对象进行移动,忽略的话即为整个对象 

cursorAt -- 元素拖动位置与光标位置的偏移量的指定。接受top,bottom,left,right的偏移量。 
onHover (hover) -- function 
onOut  (out) -- function(event, ui)  对象被移出指定容器时触发 
onStart  (start) -- function(event, ui)  对象开始移动时触发 
onStop  (stop) -- function 移动结束时触发
 
注,当使用jquery的interface插件时,方法前加on加以区别jquery的原始方法。
方法中参数event为一事件对象,event.target为触发该事件的html对象.
原文地址:https://www.cnblogs.com/luluping/p/1555503.html