{"json_modified": "2016-05-31T00:27:03.896556", "uuid": "6b72d690-08f1-493f-ad45-4d37219ae0be", "title": "DataTransfer.setDragImage()", "url": "/en-US/docs/Web/API/DataTransfer/setDragImage", "tags": ["API", "Reference", "HTML DOM", "drag and drop", "Api", "Method"], "translations": [], "modified": "2016-05-31T00:27:04", "label": "DataTransfer.setDragImage()", "localization_tags": [], "locale": "en-US", "id": 165951, "last_edit": "2016-05-31T00:27:00", "summary": "When a drag occurs, a translucent image is generated from the drag target (the element the dragstart
event is fired at), and follows the mouse pointer during the drag. This image is created automatically, so you do not need to create it yourself. However, if a custom image is desired, the DataTransfer.setDragImage()
method can be used to set the custom image to be used.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Arguments", "title": "Arguments"}, {"id": "Return_Value", "title": "Return value"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/DataTransfer/setDragImage", "review_tags": ["technical"]}