New Drag and Drop Addon. Deal with objects, not browser events

https://github.com/mharris717/ember-drag-drop

Simple drag and drop addon for your Ember CLI app.

The goal is to allow you to add drag and drop to your app without having to become an expert in the browser’s low level D&D API.

To use this addon, you don’t need to:

  • Know anything about how the browser implements drag and drop.
  • Ever deal with a browser drag and drop event, or even know that they exist.

When using this addon, you get to work with objects in your domain layer, just like everywhere else in Ember. The only two things you need to use are (as you might expect) draggable-object and draggable-object-target

3 Likes

@mharris717 Great little API! I love that you’ve pushed so much of it into the templates themselves, and handle interactions via actions by default. Eager to give it a spin :slight_smile:

@mixonic Glad to hear it! I love feedback, please don’t hesitate to let me know what you think.