You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two horizontal div which bottom one represents a set of images and I copy them to the upper container with dragula's copy attribute. As I hover the mouse on the images on the upper body I want to remove the dragged item with the delete button.
removeOnSpill work fine in my project however I need to create a system that removes the dropped( or copied ) item with a button click.
I tried to destroy the group but it does not remove the dropped item but only disallows to drag option.
Since I have an issue with deleting I also have with adding. In my system as I click the images on the bottom, I get its image id and add it on the upper div. However, if I first drag and drop image with dragula it adds the image then if I click the image it adds again which creates two images. Any suggestion on how to handle these issues, what would be the best approach?
I only created this simple example in order to explain what I meant
The text was updated successfully, but these errors were encountered:
Change each
[ ]
to[x]
when you have done it.[usage question]
ng2-dragula
issues, including closed issues.Removing copied item without using removeOnSpill
I have two horizontal div which bottom one represents a set of images and I copy them to the upper container with dragula's copy attribute. As I hover the mouse on the images on the upper body I want to remove the dragged item with the delete button.
removeOnSpill work fine in my project however I need to create a system that removes the dropped( or copied ) item with a button click.
I tried to destroy the group but it does not remove the dropped item but only disallows to drag option.
Since I have an issue with deleting I also have with adding. In my system as I click the images on the bottom, I get its image id and add it on the upper div. However, if I first drag and drop image with dragula it adds the image then if I click the image it adds again which creates two images. Any suggestion on how to handle these issues, what would be the best approach?
I only created this simple example in order to explain what I meant
The text was updated successfully, but these errors were encountered: