我有 jQuery UIdraggable在一个元素上工作。
当elementA被拖动时,我正在从elementB.
我想要检测何时elementA停止拖动,并将类添加回elementB.
$('.container').draggable({
// Output offset while dragging box
drag: function(){
$('.properties').removeClass('appear');
// Detect mouseup after dragging has stopped
// and add .appear back to .properties
}
});