问题
Is there somehow a way to access these two events? Do the even exsist?
I have to set transfer data on dragStart and dragEnd to an event object.
回答1:
Check:
Drag start: http://api.jqueryui.com/draggable/#event-start
Drag stop: http://api.jqueryui.com/draggable/#event-stop
You are able to access current event in both function calls.
来源:https://stackoverflow.com/questions/15342172/jquery-dragstart-and-dragend-events-in-jquery-ui