class dom::DataTransfer
sys::Obj dom::DataTransfer
@Js
The DataTransfer object is used to hold the data that is being dragged during a drag and drop operation.
- dropEffect
-
Str dropEffect
The effect used for drop targets.
- effectAllowed
-
Str effectAllowed
The effects that are allowed for this drag.
- getData
-
Get data for given MIME type, or an empty string if data for that type does not exist or the data transfer contains no data.
- setData
-
This setData(Str type, Str val)
Set data for given MIME type.
- types
-
Str[] types()
List of the format types of data, in the same order the data was added.