This came up in my thread from earlier today and ties into another recent thread about events in TweenMax.
I'd like to make a feature request for Draggable to emit events (onPress, onDrag, onThrow, etc.).
This feature will allow the decoupling of our code from the create function and encourage good coding practice and organisation.
Unlike TweenMax, Draggable is heavily tied to the DOM and so I think this is a reasonable request.
At the moment I'm doing this using pub/sub to emit the events from within the Draggable init code. It works but it is an extra step.
Here is a good example - the PageModule and the HeaderModule are logically separate pieces of code. The PageModule doesn't know about the HeaderModule, it just emits events.
Jack, Carl, what do you think?