disadventage of doing drag and drop with global variable instead of dataTransfer

后端 未结 0 558
北荒
北荒 2021-01-26 00:14

The normal way I have seen to doing drag and drop is using ev.dataTransfer.setData("text", ev.target.id); and the corresponding dataTransfer.getData

相关标签:
回答
  • 消灭零回复
提交回复
热议问题