-
-
Notifications
You must be signed in to change notification settings - Fork 3
Complete
Fatih Koca edited this page Nov 27, 2019
·
2 revisions
A function to be called when the request finishes (Success
or error
callbacks are executed).
// ES5
Vue.ajax.get("http://example.com", {}, {
complete: function(response) {
console.log(response.status)
}
});
// ES6
Vue.ajax.get("http://example.com", {}, {
complete: response => {
console.log(response.status)
}
});