Closed davidaurelio closed 11 years ago
Thanks, looks good. What about tests?
I can’t tell by glancing through this, but does it or would it make sense to include the diffX/diffY from the start coordinate for drag events rather than (or in addition to) the last event emission?
That way things like https://github.com/uxebu/bonsai-demos/blob/gh-pages/demos/draggable-shapes/index.html#L49 can be handled by bonsai and userland doesn’t need to keep track of that state?
Yes, absolutely. I’m already working on it in the next branch.
Awesome. :thumbsup:
Closed in favor of #201