+8
-1
lines changedFilter options
+8
-1
lines changed Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
2
2
<div class="md-stepper">
3
3
<md-step-header v-if="MdSteppers.isVertical" :index="id" />
4
4
5
-
<div class="md-stepper-content" :class="{ 'md-active': !MdSteppers.syncRoute && id === MdSteppers.activeStep }">
5
+
<div :class="['md-stepper-content', { 'md-active': id === MdSteppers.activeStep }]" :tabindex="tabIndex">
6
6
<slot />
7
7
</div>
8
8
</div>
@@ -43,6 +43,13 @@
43
43
}
44
44
}
45
45
},
46
+
computed: {
47
+
tabIndex () {
48
+
return this.id !== this.MdSteppers.activeStep
49
+
? -1
50
+
: false
51
+
}
52
+
},
46
53
methods: {
47
54
getPropValues () {
48
55
const propNames = Object.keys(this.$options.props)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4