angular-drop icon indicating copy to clipboard operation
angular-drop copied to clipboard

evaluate expression on drop

Open caitp opened this issue 11 years ago • 2 comments

It would be nice to emit an event to the correct scope when an element is dropped, and should be pretty trivial to do.

caitp avatar Feb 09 '14 01:02 caitp

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.

bsr203 avatar Aug 12 '14 02:08 bsr203

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

bsr203 avatar Aug 12 '14 02:08 bsr203