Readonly
kindReturns the drag data item kind, one of: "string", "file".
Readonly
typeReturns the drag data item type string.
Returns a File object, if the drag data item kind is File.
Invokes the callback with the string data as the argument, if the drag data item kind is text.
One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object.
MDN Reference