Documentation
Autosave
autosave.before.send #
xhr | Object | XMLHttpRequest object |
Occurs before sending the autosave request to the server.
This event has event.stop
method.
autosave.send #
response | Object | JSON response |
Occurs whenever the autosave request is sent.
autosave.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..."
}