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 'DataTransfer' in that specification.
Living Standard Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support60 ? ? ?47 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6060 ? ?47 No ?

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, jamesdhurd, jpmedley
Last updated by: fscholz,