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
Documentation DataTransferItemList by Mozilla Contributors, licensed under CC-BY-SA 2.5.
unsigned long that is the number of drag items in the list.
Adds an item (either a
File object or a
DOMString) to the drag item list and returns a
DataTransferItem object for the new item.
Removes all of the drag items from the list.
Removes the drag item from the list at the given index.