The DataTransferItemList
object is a list of DataTransferItem
objects representing items being dragged. During a drag operation, each DragEvent
has a dataTransfer
property and that property is a DataTransferItemList
.
Documentation DataTransferItemList by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Variables
Methods
add(data:File):DataTransferItem
add(data:String, type:String):DataTransferItem
Adds an item (either a File
object or a DOMString
) to the drag item list and returns a DataTransferItem
object for the new item.
Throws:
null | DOMError |
---|