vue-upload-component
Advanced tools
Comparing version 2.5.1-beta.2 to 2.5.1-beta.3
@@ -689,3 +689,27 @@ > **The document uses Google Translate** | ||
### addInputFile | ||
* **Arguments:** | ||
* `files: HTMLInputElement` File element | ||
* **Result:** `Array` Added list of files | ||
* **Description:** | ||
Add the file selected by `<input type = "file">` to the upload list | ||
Requires version >= `2.5.1` | ||
### addDataTransfer | ||
* **Arguments:** | ||
* `dataTransfer: DataTransfer` Drag or paste data | ||
* **Result:** `Promise<Array>` Added list of files | ||
* **Description:** | ||
Add files that are dragged or pasted into the upload list | ||
Requires version >= `2.5.1` | ||
### update | ||
@@ -692,0 +716,0 @@ * **Arguments:** |
@@ -138,4 +138,11 @@ ## 安装 | ||
https://github.com/liady/webpack-node-externals | ||
* [**官方 `vue-hackernews` 演示**](https://github.com/lian-yue/vue-hackernews-2.0/) | ||
* [**查看改动**](https://github.com/lian-yue/vue-hackernews-2.0/commit/bd6c58a30cc6b8ba6c0148e737b3ce9336b99cf8) | ||
*** | ||
@@ -142,0 +149,0 @@ |
{ | ||
"name": "vue-upload-component", | ||
"description": "Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter", | ||
"version": "2.5.1-beta.2", | ||
"version": "2.5.1-beta.3", | ||
"author": "LianYue", | ||
@@ -6,0 +6,0 @@ "scripts": { |
996626
23