diff --git a/src/components/VStep.vue b/src/components/VStep.vue index a7ceaf3..55df0da 100644 --- a/src/components/VStep.vue +++ b/src/components/VStep.vue @@ -15,10 +15,10 @@
- - - - + + + +
@@ -55,6 +55,9 @@ export default { }, labels: { type: Object + }, + enabledButtons: { + type: Object } }, data () { @@ -104,6 +107,9 @@ export default { console.error('[Vue Tour] The target element ' + this.step.target + ' of .v-step[id="' + this.hash + '"] does not exist!') this.$emit('targetNotFound', this.step) } + }, + checkEnabledButtons (name) { + return this.enabledButtons.hasOwnProperty(name) ? this.enabledButtons[name] : true } }, mounted () { diff --git a/src/components/VTour.vue b/src/components/VTour.vue index 7aec0aa..8e34aa5 100644 --- a/src/components/VTour.vue +++ b/src/components/VTour.vue @@ -9,6 +9,7 @@ :is-first="isFirst" :is-last="isLast" :labels="customOptions.labels" + :enabled-buttons="customOptions.enabledButtons" >