Open caitp opened 10 years ago
Hello. I was switching between couple of dnd plugins, and out of frustration, like to use this library. I've also seen your work in angular core and much confidence in using this :-)
but, I am not sure whether my use case is supported. I want to drag an item from a group of draggable elements, and want to drop at in another container. I want to attach data to nodes (say, a list with ng-repeat items), and either receives drop event/ callback with correct drag/drop target. Is it possible?
thank you for your work. bsr.
an example may be here https://jimliu.github.io/angular-ui-tree/trees.html
I couldn't quite follow how to register for events with angular-drop, or how dropping an element changes the collection / $scope. Can you please provide an example with these features. thanks again
It would be nice to emit an event to the correct scope when an element is dropped, and should be pretty trivial to do.