📅  最后修改于: 2022-03-11 14:58:17.642000             🧑  作者: Mango
let dragger = document.querySelectAll('#dragger')
dragger.addEventListener("dragstart",function(e){
e.dataTransfer.setData('text/plain', 'This text may be dragged')
})