@@ -161,6 +161,7 @@ on-preview | hook function when clicking the uploaded files | function(file) |
...
@@ -161,6 +161,7 @@ on-preview | hook function when clicking the uploaded files | function(file) |
on-remove | hook function when files are removed | function(file, fileList) | — | —
on-remove | hook function when files are removed | function(file, fileList) | — | —
on-success | hook function when uploaded successfully | function(response, file, fileList) | — | —
on-success | hook function when uploaded successfully | function(response, file, fileList) | — | —
on-error | hook function when some errors occurs | function(err, response, file) | — | —
on-error | hook function when some errors occurs | function(err, response, file) | — | —
on-progress | hook function when some progress occurs | function(event, file, fileList) | — | — |
before-upload | hook function before uploading with the file to be uploaded as its parameter. If `false` or a `Promise` is returned, uploading will be aborted | function(file) | — | —
before-upload | hook function before uploading with the file to be uploaded as its parameter. If `false` or a `Promise` is returned, uploading will be aborted | function(file) | — | —