Open
Description
An event-drag module would simplify the story around gesture events in YUI.
Currently, you can do this:
node.on('tap', doThis);
node.on('flick', doThat);
But if you want to drag something around, you have to do this:
var dd = new Y.DD.Drag({ ... });
dd.on('drag:drag', doThisToo);
This should be simplified to this:
node.on('drag', doThisToo)
I think we can do this by having an event-drag module that instantiates and sets up Y.DD under the hood, but I need to look into it.