Simple JavaScript drag and drop witout the help of a library

后端 未结 4 813
我寻月下人不归
我寻月下人不归 2021-02-09 07:13

I am simply looking for a way of using drag and drop without jquery or any other library. If a dragged object is dropped on another element the later element should start an eve

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-09 07:40

    I am simply looking for a way of using drag and drop without jquery or any other library.

    I'm sorry, but there are no such thing as simply drag and drop without any library. You can write it all yourself, but that will be a lot of JS to make it work in all browsers.

提交回复
热议问题