+ 1

What is dataTransfer in js?

14th Jul 2018, 9:05 PM
Sina
Sina - avatar
3 odpowiedzi
15th Jul 2018, 9:28 PM
NezhnyjVampir
+ 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!
15th Jul 2018, 5:01 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 1
Tank you Alexander but I need some simple example to underestand it very well. do you have some examples?
15th Jul 2018, 7:57 AM
Sina
Sina - avatar