DataTransfer objects are used to expose the drag data store that
underlies a drag-and-drop operation.
Properties |
DOMString | - dropEffect
- The dropEffect attribute controls
the drag-and-drop feedback that the user is given during a drag-and-drop operation. When the
DataTransfer object is created, the dropEffect attribute is set to a string value. On
getting, it must return its current value.
|
DOMString | - effectAllowed
- The effectAllowed attribute is
used in the drag-and-drop processing model to initialize the dropEffect attribute during the dragenter and dragover events. When the DataTransfer object is created, the effectAllowed attribute is set to a string value. On
getting, it must return its current value.
|
FileList | - files
- The files attribute must return a
live FileList sequence consisting of File objects
representing the files found by the following steps. The same object must be returned each time. Furthermore, for a given FileList object and a given underlying file, the same
File object must be used each time.
|
DataTransferItemList | - items
- The items attribute must return a
DataTransferItemList object associated with the DataTransfer object. The
same object must be returned each time.
|
DOMString[] | - types
- The types attribute must return a
live read only array giving the strings that
the following steps would produce. The same object must be returned each time.
|