DataTransferItem
Values
getAsFile
Returns a File object, if the drag data item kind is File. Read more on MDN
let getAsFile: WebAPI.UIEventsAPI.dataTransferItem => WebAPI.FileAPI.file
getAsString
Invokes the callback with the string data as the argument, if the drag data item kind is text. Read more on MDN
let getAsString: ( WebAPI.UIEventsAPI.dataTransferItem, string => unit,) => unit
webkitGetAsEntry
let webkitGetAsEntry: WebAPI.UIEventsAPI.dataTransferItem => WebAPI.FileAndDirectoryEntriesAPI.fileSystemEntry