Drag-and-drop is a feature that computer users consider to be "running smoothly," and we have several ways to enable this feature in the browser
。 Windows Internet Explorer 9 and earlier versions of Windows Internet Explorer support for dragging images
, links, and text for DataTransfer objects and events. Internet Explorer 10 adds the Draggable property and
Support for the Datatransfer.files property, which will allow one or more files to be dragged and dropped from the desktop onto the Web page.
Microsoft Edge has introduced support for the latest model of drag-and-drop models, where Datatransferitemlist objects (by
Datatransfer.items property access) is used as a drag operation data store. The traditional drag-and-drop API mentioned above is still supported. About
For more information, see New and traditional drag and drop.
Drag-and-drop API