1.1.3 • Published 2 years ago
vue-seamless-scroll-z v1.1.3
vue-seamless-scroll-z
Seamless slide ui component for vue(>=vue2.0)
Installation
npm install vue-seamless-scroll-z
import SeamlessScroll from 'vue-seamless-scroll-z'
Vue.use(SeamlessScroll);
Usage
<seamless-scroll :speed="120" :interval="4000" direction="bottom">
<seamless-scroll-item :isReset="true" v-for="(item, index) in slideList" :key="index">
content
</seamless-scroll-item>
</seamless-scroll>
Props
Property | Type | Default Value | Description |
---|---|---|---|
speed | Number | 1 | The smaller the value, the faster |
interval | Number | 50 | Interval |
direction | String | left | left right top bottom |
isResize | Boolean | true | Whether to resize or not |
isAuto | Boolean | true | Whether to slide or not |
arrow | String | show | show hide hover |