What is "dataTransfer.setDate()" in js?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is "dataTransfer.setDate()" in js??

14th Apr 2018, 4:56 PM
Sina
Sina - avatar
4 Answers
+ 1
do u mean setdata
26th Jun 2018, 9:56 AM
∞ Infinítє Сσdєr ∞
∞ Infinítє Сσdєr ∞ - avatar
+ 1
The DataTransfer.setData() method sets the drag operation's drag data to the specified data and type. If data for the given type does not exist, it is added at the end of the drag data store, such that the last item in the types list will be the new type. If data for the given type already exists, the existing data is replaced in the same position. That is, the order of the types list is not changed when replacing data of the same type. Example data types are text/plain and text/uri-list.
29th Jun 2018, 4:37 PM
∞ Infinítє Сσdєr ∞
∞ Infinítє Сσdєr ∞ - avatar
0
yes
29th Jun 2018, 3:51 PM
Sina
Sina - avatar
29th Jun 2018, 4:37 PM
∞ Infinítє Сσdєr ∞
∞ Infinítє Сσdєr ∞ - avatar