《Sortable.js》 Code Reading
In the previous project when I was working for HoYoverse, there are some requirements for drag-and-drop sorting of elements, and I used Sortable.JS to implement it. In 2024.December In my personal kanban, I left a pending action item for myself to analyze the source code of Sortable.JS, which I finally got around to doing in 2025.May 😂 …
⬇️ try drag and drop the list example below ⬇️
This post is a brief analysis of the source code of Sortable.JS, which is a very popular library for drag-and-drop sorting.