

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the DataTransfer object attributes?
The DataTransfer object holds data about the drag and drop operation. This data can be retrieved and set in terms of various attributes associated with the DataTransfer object.
The following are the attributes:
Sr.No. | DataTransfer attributes and their description |
---|---|
1 | dataTransfer.dropEffect [ = value ]
|
2 | dataTransfer.effectAllowed [ = value ]
|
3 | dataTransfer.types |
4 | dataTransfer.clearData( [ format ] ) Removes the data of the specified formats. Removes all data if the argument is omitted. |
5 | dataTransfer.setData(format, data) |
6 | data = dataTransfer.getData(format) |
7 | dataTransfer.files |
8 | dataTransfer.setDragImage(element, x, y) |
9 | dataTransfer.addElement(element) |
- Related Questions & Answers
- DataTransfer object in HTML5
- What are the attributes of a file object in Python?
- What are the attributes in C#?
- What are Python function attributes?
- What are event attributes in jQuery?
- What are conditional attributes in C#?
- What are obsolete attributes in C#?
- What are predefined attributes in C#?
- What are the methods in jQuery to manipulate attributes?
- What are the attributes of a Perfect Capital Market?
- what are the different attributes of MySQL ENUM data type?
- What are the attributes of programming languages in compiler design?
- What are built-in class attributes in Python?
- What are the attributes of a secure network in information security?
- What are various attributes Of page directive in JSP?
Advertisements