I am working on drag and drop functionality(using ng2-dragula).
I need to drag an element from a list and drop it to another blocks. But where I am stuck is that I need to drop only one element in the drop block at a time and if I remove firstly added element from drop block only then I can add another element. There are multiple drop blocks. But list block is one only.
I have created a stackblitz url: I think this is what you are looking for..
you can always catch events in ng2-dragula like this:
https://stackblitz.com/edit/ng2-dragula-base-jystom?file=src%2Fapp%2Fapp.component.ts
I have used an event to manipulate data like this: