G
G
GizzaProger2019-09-07 17:47:58
JavaScript
GizzaProger, 2019-09-07 17:47:58

How to implement the "correlate cards" task in js?

This is how the task looks like
5d73c2900191b711538472.png
How can I get a card on which another card was dragged?
There is an idea to somehow get the element under the active card on the mouseup event, but I don’t know how.
Everything is written in vue and done through mousup and mousedown

Answer the question

In order to leave comments, you need to log in

2 answer(s)
0
0xD34F, 2019-09-07
@GizzaProger

https://jsfiddle.net/thd7avy2/

S
Stalker_RED, 2019-09-07
@Stalker_RED

https://developer.mozilla.org/en-US/docs/Web/API/D...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question