0.0.3 • Published 5 years ago

vue-autoscroll-list v0.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

vue-autoscroll-list

downloads npm-version license

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

propdescriptiondefaulttype
animationFlowfor animation direction 'utd' (up to down) / 'dtu' (down to top)'utd'String
animationSpeedspeed of scroll2500Number
animationIntervalinterval to the next scroll4000Number
classOuterclass 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 :)

License

MIT