{"json_modified": "2016-09-12T18:14:08.852460", "uuid": "aa6d8a58-88c8-4876-8cd9-5ff98fb06ef1", "title": "DataTransferItemList.add()", "url": "/en-US/docs/Web/API/DataTransferItemList/add", "tags": ["API", "Add", "HTML Drag and Drop API", "Reference", "HTML DOM", "DataTransferItemList", "NeedsLiveSample", "drag and drop", "Method"], "translations": [], "modified": "2016-09-12T18:14:09", "label": "DataTransferItemList.add()", "localization_tags": [], "locale": "en-US", "id": 166583, "last_edit": "2016-09-12T18:14:02", "summary": "The DataTransferItemList.add()
method creates a new DataTransferItem
using the specified data and adds it to the drag data list. The item may be a File
or a string
of a given type. If the item is successfully added to the list, the newly-created DataTransferItem
object is returned.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_Value", "title": "Return value"}, {"id": "Exceptions", "title": "Exceptions"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}], "slug": "Web/API/DataTransferItemList/add", "review_tags": ["technical"]}