Response title
This is preview!
placeholder: "sc-highlight",
tolerance: "pointer",
cursorAt: { top: 25, left: 25 },
connectWith: connectWithItem,
handle: ".scw-move",
forcePlaceholderSize: true,
refreshPositions: true,
revert: 450,
items: sortableItems,
start: function (event, ui) {
ui.helper.addClass('started-sorting');
ui.item.addClass('started-sorting');
},
change: function () {
console.log('asdf');
},
stop: function (event, ui) {
ui.item.removeClass('started-sorting');
},
beforeStop:function( event, ui ) {
$( this ).attr( "src", "replacement.png" );
}
});
© 2013 jQuery Foundation
Sponsored by and others.