react-sortablejs icon indicating copy to clipboard operation
react-sortablejs copied to clipboard

How to get HTML element after onEnd if it is not list?

Open StarkMP opened this issue 5 years ago • 1 comments

Hello.

How to get HTML element after onEnd if it is not list? I have some element-box that need for dropping items from lists. For example: i have list with inventory and i have delete icon, I would like delete item by dragging them to icon. How can i do it and how can i get the element data (object) ?

If possible can you will send answer with examples? Thanks.

StarkMP avatar May 21 '20 02:05 StarkMP

I found solution by get element from point

StarkMP avatar May 21 '20 16:05 StarkMP