{"json_modified": "2016-09-15T02:24:27.224392", "uuid": "4c405618-49ae-4b96-8085-5bd0c5b4e081", "title": "DataTransferItem.getAsFile()", "url": "/en-US/docs/Web/API/DataTransferItem/getAsFile", "tags": ["DataTransferItem", "API", "HTML Drag and Drop API", "Reference", "HTML DOM", "drag and drop", "Method"], "translations": [], "modified": "2016-09-15T02:24:27", "label": "DataTransferItem.getAsFile()", "localization_tags": [], "locale": "en-US", "id": 166465, "last_edit": "2016-09-15T02:24:22", "summary": "If the item is a file, the DataTransferItem.getAsFile()
method returns the drag data item's File
object. If the item is not a file, this method returns null
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"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/DataTransferItem/getAsFile", "review_tags": []}