+ 1
What is dataTransfer in js?
3 Answers
+ 7
Sina, here is an example:
https://www.w3schools.com/Html/html5_draganddrop.asp
+ 3
Hello, Sina !
This is an object that contains the information involved in the drag-and-drop operation. Several methods and properties are associated with the dataTransfer object. setData() and getData(). It is these methods, as well as the additional method clearData() that are responsible for the transmitted information.
Good luck with programming on SoloLearn!
+ 1
Tank you Alexander but I need some simple example to underestand it very well.
do you have some examples?