mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-07 08:32:23 +03:00
#27 Expose footer content as a scoped slot
This commit is contained in:
@@ -20,6 +20,13 @@
|
||||
<div v-if="error">
|
||||
{{error}}
|
||||
</div>
|
||||
<template slot="footer" scope="props">
|
||||
<div class="wizard-footer-right">
|
||||
<wizard-button :style="props.fillButtonStyle">Cancel</wizard-button>
|
||||
<wizard-button @click.native="props.nextTab()" class="wizard-footer-right" :style="props.fillButtonStyle">Next</wizard-button>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
</form-wizard>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user