DataTransferItem object represents one drag data item. During a drag operation, each
drag event has a
dataTransfer property which contains a
list of drag data items. Each item in the list is a
This interface has no constructor.
- Returns the
Fileobject associated with the drag data item (or null if the drag item is not a file).
- Returns a
FileSystemFileHandleif the dragged item is a file, or a
FileSystemDirectoryHandleif the dragged item is a directory.
- Invokes the specified callback with the drag data item string as its argument.
- Returns an object based on
FileSystemEntryrepresenting the selected file's entry in its file system. This will generally be either a
All of this interface's methods and properties have their own reference page, and each reference page has an example of its usage.
|HTML Standard (HTML)|
BCD tables only load in the browser