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
This interface has no constructor.
unsigned longthat is the number of drag items in the list.
- Adds an item (either a
Fileobject or a
string) to the drag item list and returns a
DataTransferItemobject for the new item.
- Removes the drag item from the list at the given index.
- Removes all of the drag items from the list.
- Getter that returns a
DataTransferItemat the given index.
Each of this interface's methods and properties has a reference page, and each reference page has an example of its usage.
|HTML Living Standard
|勧告||Not included in W3C HTML5 勧告|
BCD tables only load in the browser