2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-09 20:32:24 +03:00

Add slots to WizardStep

This commit is contained in:
cristijora
2017-07-31 21:57:23 +03:00
parent 81b69507f5
commit 77a16bb350
3 changed files with 26 additions and 15 deletions
+7 -2
View File
@@ -12,7 +12,7 @@
class="card" ref="wizard">
<template slot="step" scope="props">
<wizard-step :tab="props.tab"
:transition="props.transition"
transition="fade"
:key="props.tab.title"
:index="props.index">
</wizard-step>
@@ -103,5 +103,10 @@
position: relative;
z-index: 1;
}
.fade-enter-active, .fade-leave-active {
transition: opacity .2s
}
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
opacity: 0
}
</style>