我想创建一个函数,一旦我调用它就可以将我的可拖动对象放回初始位置。与功能无关revert
^^
$('.drag').draggable({
stack: ".drag",
snap: ".drop",
snapMode: "inner",
revert: "invalid",
start: function(){
$('.time').fadeIn('slow').delay(1000);
declenchementChrono()
}
});
谢谢!