2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-24 19:50:35 +03:00

hideButtons prop added

This commit is contained in:
Wanderson Alves
2017-05-30 21:17:24 -03:00
parent 2e769aefcf
commit 8c712ac9cd
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -1,6 +1,7 @@
<template> <template>
<div> <div>
<form-wizard @on-complete="onComplete" <form-wizard @on-complete="onComplete"
:hide-buttons="false"
shape="square" shape="square"
color="gray" color="gray"
@on-loading="setLoading" @on-loading="setLoading"
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -1
View File
@@ -45,7 +45,7 @@
</div> </div>
</div> </div>
<div class="wizard-card-footer"> <div class="wizard-card-footer" v-if="!hideButtons">
<template> <template>
<span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left"> <span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left">
<slot name="prev"> <slot name="prev">
@@ -104,6 +104,10 @@
type: String, type: String,
default: 'Finish' default: 'Finish'
}, },
hideButtons: {
type: Boolean,
default: false
},
validateOnBack: Boolean, validateOnBack: Boolean,
/*** /***
* Applies to text, border and circle * Applies to text, border and circle