vue-autoscroll-list

0.0.3 • Public • Published

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

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 :)

License

MIT

Package Sidebar

Install

npm i vue-autoscroll-list

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

25.9 kB

Total Files

9

Last publish

Collaborators

  • rendrapramulia