Hello,
I've been looking for a way to keep my cursor as a grab when the item is not been dragging and to grabbing when the item is being dragging but then come back to grab when the user stop dragging the item.
I don't know if I was clear but it's similar to this cursor action: http://fetedelabiere.promo-agency.com/
Here's part of my code where I managed to make change the cursor when the drag starts but not when the user stops
Draggable.create(div1, {
type: 'x,y',
bounds: parent,
edgeResistance: 1,
onDrag: function() {
childX.html(this.x);
childY.html(this.y);
}
});
Draggable.get("#div1").vars.cursor = "grabbing";