How to establish potential drop container? #61

mydigitalself opened this Issue Jan 14, 2014 · 2 comments


None yet

2 participants


Hi, sorry this is less of an issue and more of a question.

For isValidTarget(item,container) how do I get the id of the container? I don't entirely understand the shape of that object.

(Sorry, my JavaScript is not brilliant).


Ah, finally figured it out, $(container.el)

Is there any way to drag something "out" of any list entirely?

For example, if I drag an item such that my cursor is no longer on top of the list, I'd like to remove the item from the list.

johnny commented Feb 19, 2014

This probably comes to late but here goes:

You should be able to use a combination of onCancel (save the fact, that the next item drop is outside all other containers) and onDrop (remove from dom if cancelled)

@johnny johnny closed this Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment