Skip to content

Commit

Permalink
update:demo
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi7099 committed Jan 22, 2018
1 parent f3b5f47 commit ebd4320
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo1"
>
Expand All @@ -133,7 +133,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo2"
>
Expand All @@ -153,7 +153,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo3"
>
Expand All @@ -173,7 +173,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo4"
>
Expand All @@ -193,7 +193,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo5"
>
Expand All @@ -213,7 +213,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo6"
>
Expand All @@ -233,7 +233,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo7"
>
Expand All @@ -253,7 +253,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo8"
>
Expand All @@ -273,7 +273,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo9"
>
Expand All @@ -293,7 +293,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo10"
@hscroll="hscroll"
Expand All @@ -316,7 +316,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo11"
@vscroll="vscroll"
Expand All @@ -339,7 +339,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo12"
>
Expand All @@ -359,7 +359,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo13"
>
Expand All @@ -379,7 +379,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo14"
>
Expand All @@ -399,7 +399,7 @@ <h2>Vuescroll Demo</h2>
</v-flex>
<v-flex md4 xs12 >
<v-card dark color="purple">
<v-card-media height="200px">
<v-card-media height="200px" :style="{width: windowInnerwidh}">
<vue-scroll
:ops="demo15"
>
Expand Down Expand Up @@ -604,6 +604,7 @@ <h2>by wangyi7099 under MIT <a href="https://github.com/wangyi7099/vuescroll">Gi
demo14,
demo15,
windowInnerheight: "",
windowInnerwidh: "",
vBarProcess: 0,
hBarProcess: 0
},
Expand All @@ -619,6 +620,7 @@ <h2>by wangyi7099 under MIT <a href="https://github.com/wangyi7099/vuescroll">Gi
},
mounted() {
this.windowInnerheight = window.innerHeight + 'px';
this.windowInnerwidh = window.innerWidth + 'px';
}
});
</script>
Expand Down

0 comments on commit ebd4320

Please sign in to comment.