This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The dataTransfer read-only property of the InputEvent interface returns a DataTransfer object containing information about richtext or plaintext data being added to or removed from editible content.


var dataTransfer = inputEvent.dataTransfer


A DataTransfer object.


Specification Status Comment
Input Events Level 2
The definition of 'dataTransfer' in that specification.
Working Draft Initial definition.

Browser Compatibility

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

Document Tags and Contributors

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