-
-
Notifications
You must be signed in to change notification settings - Fork 3
Event Handlers
Register a handler to be called when Vue.ajax requests abort.
window.addEventListener("vueajaxabort", function(e) {
console.log(e);
});Register a handler to be called when Vue.ajax requests complete.
window.addEventListener("vueajaxsuccess", function(e) {
console.log(e);
});Register a handler to be called when Vue.ajax requests complete with an error.
window.addEventListener("vueajaxerror", function(e) {
console.log(e);
});Register a handler to be called when Vue.ajax requests begins.
window.addEventListener("vueajaxstart", function(e) {
console.log(e);
});Attach a function to be executed whenever an Vue.ajax request completes successfully.
window.addEventListener("vueajaxsuccess", function(e) {
console.log(e);
});Register a handler to be called when Vue.ajax history requests complete.
window.addEventListener("vueajaxhistorycomplete", function(e) {
console.log(e);
});Register a handler to be called when Vue.ajax history requests complete with an error.
window.addEventListener("vueajaxhistoryerror", function(e) {
console.log(e);
});Register a handler to be called when Vue.ajax history requests begins.
window.addEventListener("vueajaxhistorystart", function(e) {
console.log(e);
});Attach a function to be executed whenever an Vue.ajax history request completes successfully.
window.addEventListener("vueajaxhistorysuccess", function(e) {
console.log(e);
});Register a handler to be called when componentShifter() requests complete.
window.addEventListener("componentshiftercomplete", function(e) {
console.log(e);
});Register a handler to be called when componentShifter() requests complete with an error.
window.addEventListener("componentshiftererror", function(e) {
console.log(e);
});Register a handler to be called when componentShifter() requests begins.
window.addEventListener("componentshifterstart", function(e) {
console.log(e);
});Attach a function to be executed whenever an componentShifter() request completes successfully.
window.addEventListener("componentshiftersuccess", function(e) {
console.log(e);
});