Global Index
HTML5 JS API Index > Drag and Drop Tutorials & Specs

DataTransferItem

Each DataTransferItem object is associated with a DataTransfer object.

Properties
DOMStringkind
DOMString
type
The type attribute must return the empty string if the DataTransferItem object is in the disabled mode; otherwise it must return the drag data item type string of the item represented by the DataTransferItem object.
Operations
File?getAsFile()
voidgetAsString(FunctionStringCallback? _callback)
Referenced by
DataTransferItemListgetter(...)