2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-16 22:00:34 +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>
<div>
<form-wizard @on-complete="onComplete"
:hide-buttons="false"
shape="square"
color="gray"
@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 class="wizard-card-footer">
<div class="wizard-card-footer" v-if="!hideButtons">
<template>
<span @click="prevTab" v-if="displayPrevButton" class="wizard-footer-left">
<slot name="prev">
@@ -104,6 +104,10 @@
type: String,
default: 'Finish'
},
hideButtons: {
type: Boolean,
default: false
},
validateOnBack: Boolean,
/***
* Applies to text, border and circle