Description
When i was applying draggable and sortable i discover a difference between the ui.item
that is given to the beforeStop
and the receive
event.
For both the api description is:
"The jQuery object representing the current dragged element."
http://api.jqueryui.com/sortable/#event-receive
http://api.jqueryui.com/sortable/#event-beforeStop
but when i modify ui.item
in the receive
callback the origin dragged item is modified, but not the dropped item. While i modify the ui.item
in the beforeStop
event the dropped item changes and not the origin (i my case the lastest was desired).
Is it possible to describe in the documentation bit more elaborated what the ui
object is? or what the context is of the callback event.
With this information the differences between the events become more clear imho.
Activity