A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/commit/2fef269 below:

add v-show to hide content · vuematerial/vue-material@2fef269 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-4

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-4

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', { 'md-active': id === MdSteppers.activeStep }]" :tabindex="tabIndex">

5 +

<div :class="['md-stepper-content', { 'md-active': isActive }]" :tabindex="tabIndex" v-show="isActive">

6 6

<slot />

7 7

</div>

8 8

</div>

@@ -44,10 +44,13 @@

44 44

}

45 45

},

46 46

computed: {

47 +

isActive () {

48 +

return this.id === this.MdSteppers.activeStep

49 +

},

47 50

tabIndex () {

48 -

return this.id !== this.MdSteppers.activeStep

49 -

? -1

50 -

: false

51 +

return !this.isActive

52 +

? -1

53 +

: false

51 54

}

52 55

},

53 56

methods: {

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