DataTransferItem
Values
getAsFile
Returns a File object, if the drag data item kind is File. Read more on MDN
getAsString
Invokes the callback with the string data as the argument, if the drag data item kind is text. Read more on MDN
Returns a File object, if the drag data item kind is File. Read more on MDN
Invokes the callback with the string data as the argument, if the drag data item kind is text. Read more on MDN