remove autoplay direction prop

fix clear interval bug
This commit is contained in:
Rijn 2017-01-21 20:40:31 -06:00
parent 62808b2b03
commit 932db62320
2 changed files with 7 additions and 19 deletions

View file

@ -11,13 +11,6 @@
<i-col span="4">
Speed <Slider :value.sync="autoplaySpeed" :min="300" :max="5000"></Slider>
</i-col>
<i-col span="4">
<p>Direction</p>
<Button-group>
<i-button @click="autoplayDirection = 'left'">Left</i-button>
<i-button @click="autoplayDirection = 'right'">Right</i-button>
</Button-group>
</i-col>
<i-col span="4">
Switch To
<Button-group>
@ -66,7 +59,6 @@
:current-index.sync="currentIndex"
:autoplay="autoplay"
:autoplay-speed="autoplaySpeed"
:autoplay-direction="autoplayDirection"
:dots="dots"
:trigger="trigger"
:arrow="arrow"
@ -193,7 +185,6 @@
currentIndex: 0,
autoplay: true,
autoplaySpeed: 2000,
autoplayDirection: 'left',
remove: false,
pushItem: [],
arrow: 'hover',