DataTransferItemList object
Represents all of the data items in a single drag and drop operation.
![]() |
Syntax
var dataItem = dataTransferItemsList[i];
Members
The DataTransferItemList object has these types of members:
Methods
The DataTransferItemList object has these methods.
| Method | Description |
|---|---|
| add() |
Creates a new a new DataTransferItem with the supplied data and adds it to the list. |
| add() |
Creates a new a new DataTransferItem with the supplied data and adds it to the list. |
| clear |
Removes all DataTransferItems in the list. |
| clear |
Removes all DataTransferItems in the list. |
| remove |
Removes the specified DataTransferItem from the list. |
| remove |
Removes the specified DataTransferItem from the list. |
Properties
The DataTransferItemList object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Returns the size of the DataTransferItemList. | |
|
Read-only |
Returns the size of the DataTransferItemList. |
Standards information
Show:
