Documentation
Upload
upload.before.send
xhr | Object | XMLHttpRequest object. |
data | Object | FromData object. |
files | Array | Array of sending files. |
e | Object | Event object. |
Occurs before sending the upload request to the server.
This event has event.stop
method.
upload.complete
response | Object | JSON response |
Occurs when the upload complete.
upload.error
response | Object | JSON response |
Occurs when the autosave request fails.
Here is the example of JSON error response:
{
"error": true,
"message": "Something went wrong..."
}
dkjgvo65776inru43654