added offset function

This commit is contained in:
Rijn 2017-01-16 17:43:20 -06:00
parent 90f77e4060
commit 77d460e8c4
2 changed files with 17 additions and 6 deletions

View file

@ -11,6 +11,14 @@
<i-col span="4">
Speed <Slider :value.sync="autoplaySpeed" :min="300" :max="5000"></Slider>
</i-col>
<i-col span="4">
Switch To
<Button-group>
<i-button @click="currentIndex = 0">0</i-button>
<i-button @click="currentIndex = 1">1</i-button>
<i-button @click="currentIndex = 2">2</i-button>
</Button-group>
</i-col>
</Row>
<Carousel style="width: 50%; border: solid 1px #000"
:current-index.sync="currentIndex"