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
There is a chapter called “Drag'n'Drop with mouse events”, and it makes a passing reference to the Drag and Drop API. There are plenty of cases where it’s appropriate to choose this approach.
However, I think there also needs to be a “Drag'n'Drop with the API” chapter.
I’ve been using the DND API on a learning project. Although I got over the strange hurdle of learning which events apply to draggable items and which events apply to drop zones, I’m at a point where I am really missing the awesome guidance I can find on most other topics in your excellent work.
For the purpose of inspiration in creating such a chapter (or for anyone else reading this), one tutorial I found helpful helpful is this video (which includes the basics of the DND API, and implements a list-sorting feature):
There is a chapter called “Drag'n'Drop with mouse events”, and it makes a passing reference to the Drag and Drop API. There are plenty of cases where it’s appropriate to choose this approach.
However, I think there also needs to be a “Drag'n'Drop with the API” chapter.
I’ve been using the DND API on a learning project. Although I got over the strange hurdle of learning which events apply to draggable items and which events apply to drop zones, I’m at a point where I am really missing the awesome guidance I can find on most other topics in your excellent work.
For the purpose of inspiration in creating such a chapter (or for anyone else reading this), one tutorial I found helpful helpful is this video (which includes the basics of the DND API, and implements a list-sorting feature):
https://www.youtube.com/watch?v=jfYWwQrtzzY
The text was updated successfully, but these errors were encountered: