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) speed of animation. |
auto | Number(default: 3000) delay of auto slide. |
continuous | Boolean (default:true) - creates an infinite slider without endpoints |
MIT