vue-swipe is a touch slider for vue.js.
Import this component to your project.
require('vue-swipe')
<swipe>
<swipe-item class="page1"></swipe-item>
<swipe-item class="page2"></swipe-item>
<swipe-item class="page3"></swipe-item>
</swipe>
Option | Description |
---|---|
speed | Number(default: 300) the speed of animation. |
auto | Number(default: 3000) the speed of auto slide to next. |
continuous | Boolean (default:true) - create an infinite slider without endpoints |
MIT