Get a new iterator with the [mime, item] pairs for each element in this data transfer.
Allows iteration through the data transfer items.
Callback for iteration through the data transfer items.
OptionalthisArg: anyThe this context used when invoking the handler function.
Retrieves the data transfer item for a given mime type.
The mime type to get the data transfer item for, such as text/plain or image/png.
Special mime types:
text/uri-list — A string with toString()ed Uris separated by \r\n. To specify a cursor position in the file,
set the Uri's fragment to L3,5, where 3 is the line number and 5 is the column number.Sets a mime type to data transfer item mapping.
The mime type to set the data for.
The data transfer item for the given mime type.
A map containing a mapping of the mime type of the corresponding transferred data.
Drag and drop controllers that implement
handleDragcan add additional mime types to the data transfer. These additional mime types will only be included in thehandleDropwhen the the drag was initiated from an element in the same drag and drop controller.