{"json_modified": "2016-09-22T03:48:43.920845", "uuid": "97d66edb-c8c3-410e-ae89-439ee459d9d9", "title": "DataTransfer.setData()", "url": "/en-US/docs/Web/API/DataTransfer/setData", "tags": ["API", "Reference", "HTML DOM", "drag and drop", "Method"], "translations": [{"uuid": "78f07c7c-98ff-4c65-bb47-22ee2ad10056", "title": "DataTransfer.setData()", "url": "/ja/docs/DragDrop/DataTransfer/setData", "tags": ["HTML DOM", "Reference", "drag and drop", "API", "Method"], "summary": "DataTransfer.setData() \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30c9\u30e9\u30c3\u30b0\u64cd\u4f5c\u306e drag data \u306b\u6307\u5b9a\u3057\u305f\u30c7\u30fc\u30bf\u3068\u578b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4e0e\u3048\u3089\u308c\u305f\u578b\u306e\u30c7\u30fc\u30bf\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u3001\u3053\u306e\u30c7\u30fc\u30bf\u306f\u30c9\u30e9\u30c3\u30b0\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u306e\u672b\u5c3e\u306b\u52a0\u3048\u3089\u308c\u3001\u3053\u306e\u3088\u3046\u306a types \u30ea\u30b9\u30c8\u306e\u6700\u5f8c\u306e\u30a2\u30a4\u30c6\u30e0\u306f\u65b0\u3057\u3044\u578b\u306b\u306a\u308a\u307e\u3059\u3002\u4e0e\u3048\u3089\u308c\u305f\u578b\u306e\u30c7\u30fc\u30bf\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u3001\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u304c\u540c\u3058\u4f4d\u7f6e\u3067\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002\u540c\u3058\u578b\u306e\u30c7\u30fc\u30bf\u304c\u7f6e\u304d\u63db\u3048\u3089\u308c\u308b\u6642\u3001types \u30ea\u30b9\u30c8\u306e\u4e26\u3073\u9806\u306f\u5909\u66f4\u3055\u308c\u307e\u305b\u3093\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-09-22T03:48:36", "review_tags": []}], "modified": "2016-05-30T17:02:52", "label": "DataTransfer.setData()", "localization_tags": [], "locale": "en-US", "id": 165899, "last_edit": "2016-05-30T17:02:49", "summary": "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.", "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/setData", "review_tags": ["technical"]}