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:
+7
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user