The DataTransfer
constructor creates a new DataTransfer
object instance.
Syntax
var dataTrans = new DataTransfer()
Parameters
None.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'the DataTransfer() constructor' in that specification. |
Living Standard | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
DataTransfer() constructor | Chrome Full support 60 | Edge Full support ≤79 | Firefox ? | IE No support No | Opera Full support 47 | Safari No support No | WebView Android Full support 60 | Chrome Android Full support 60 | Firefox Android ? | Opera Android Full support 44 | Safari iOS No support No | Samsung Internet Android Full support 8.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown