0.0.3 • Published 5 years ago
vue-autoscroll-list v0.0.3
vue-autoscroll-list
auto scroll list (ticker) directive for >= vuejs 2.0
Installation (NPM recomended)
$ npm install vue-autoscroll-list --save
# yarn add vue-autoscroll-list
Get started
import Vue from 'vue'
import AutoScroll from 'vue-autoscroll-list'
Vue.use(AutoScroll)
Directive AutoScroll then can be used in any of your Component.
<template>
<AutoScroll>
<div>1</div>
<div>2</div>
...
</AutoScroll>
</template>
Props Options
prop | description | default | type |
---|---|---|---|
animationFlow | for animation direction 'utd' (up to down) / 'dtu' (down to top) | 'utd' | String |
animationSpeed | speed of scroll | 2500 | Number |
animationInterval | interval to the next scroll | 4000 | Number |
classOuter | class for container list | - | String |
Changelog
Detailed changes for each release are documented in the release notes.
Support
If you like this component, just pray a good thing for me :)