0

Unlike with setter $( ".selector" ).draggable( "option", "revert", function(){return true} ); , which fire function in the begging of the revert, I need to fire an event with a function when revert of draggable is complete.

  • Have you tried this: https://stackoverflow.com/questions/14571919/adding-a-function-to-jquery-draggable-revert-event? – Rory McCrossan Jul 13 '17 at 10:20
  • @RoryMcCrossan no, but it's not what I need. In firs answer there is jsfiddle example with duck and a bout, when you release duck div it instantly changes colour, what I need is for it to change after it lands back into place – Martynas Antipenkovas Jul 13 '17 at 10:27

0 Answers0