diff --git a/dev-example/WizardRoute.vue b/dev-example/WizardRoute.vue
index 39a598e..89bb851 100644
--- a/dev-example/WizardRoute.vue
+++ b/dev-example/WizardRoute.vue
@@ -5,24 +5,14 @@
Go to a different route
-
-
-
-
-
-
-
-
-
-
+ {{tab}}
+
+
+
@@ -36,7 +26,8 @@
loadingWizard: false,
error: null,
count: 0,
- tabs: ['test', 'test2', 'test3']
+ tabs: ['test', 'test2', 'test3'],
+ activeIndex: 0
}
},
methods: {
@@ -46,6 +37,9 @@
setLoading (value) {
this.loadingWizard = value
},
+ handleChange(prevIndex, nextIndex){
+ console.log(`Changing from ${prevIndex} to ${nextIndex}`)
+ },
setError (error) {
this.error = error
},
diff --git a/src/components/WizardStep.vue b/src/components/WizardStep.vue
index 6a529dc..a305948 100644
--- a/src/components/WizardStep.vue
+++ b/src/components/WizardStep.vue
@@ -34,6 +34,7 @@