Draggable event callbacks
In addition to the options that we have already looked at, there are three more that can be used as callback functions to execute code after specific custom events, defined by the draggables component, occur. These events are listed below.
| 
 Option  | 
 Triggered  | 
|---|---|
| 
 
  | 
 When the mouse is moved while dragging.  | 
| 
 
  | 
 When dragging starts.  | 
| 
 
  | 
 When dragging stops.  | 
When defining callback functions to make use of these events, the functions will always receive two arguments automatically. The original event object as the first argument and a second object containing the following properties:
| 
 Option  | 
 Usage  | 
|---|---|
| 
 
  | 
 A jQuery object representing the helper element.  | 
| 
 
  | 
 A nested object with properties   | 
| 
 
  | 
 A nested object with properties   | 
Using the callbacks, and the two objects that are passed as arguments, is extremely easy...