DataTransferItem
Types
t
type t = private {kind: string, @as("type") type_: string}Record fields
Values
getAsFile
Returns a WebApiFile object, if the drag data item kind is File. Read more on MDN
let getAsFile: t => Null.t<WebAPI.DOM.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: (t, string => unit) => unitwebkitGetAsEntry
let webkitGetAsEntry: t => Null.t< WebAPI.FileAndDirectoryEntriesTypes.fileSystemEntry,>