Interface

DataTransferItemList

DataTransferItemList

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.

View Source js/lib.dom.d.ts, line 1142

Members

DataTransferItem | null

# add

Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also.

View Source js/lib.dom.d.ts, line 1150

void

# clear

Removes all the entries in the drag data store.

View Source js/lib.dom.d.ts, line 1155

number

# length

Returns the number of items in the drag data store.

View Source js/lib.dom.d.ts, line 1145

void

# remove

Removes the indexth entry in the drag data store.

View Source js/lib.dom.d.ts, line 1160