DataTransferItem
The DataTransferItem
object represents one drag data item.
Functions
Link copied to clipboard
The DataTransferItem.getAsString()
method invokes the given callback with the drag data item's string data as the argument if the item's DataTransferItem.kind is a Plain unicode string (i.e., kind
is string
).
Link copied to clipboard
If the item described by the DataTransferItem is a file, webkitGetAsEntry()
returns a FileSystemFileEntry or FileSystemDirectoryEntry representing it.