This project was bootstrapped with Create React App.
There are two action entities while dragging:
- Item which is being dragged
- Item where another item is being dropped
Draggable item fires some events which are being red by droppable items
- ondrag
- ondragstart
Item becomes draggable only if it has two attributes
- draggable : which must be true
- ondragstart: an event listener
Item becomes droppable only if it has following attributes
- ondragover: an event listener
- ondrop: an event listener