react-auto-scroller
v1.0.1
Published
horizontal auto scroller for React.js
Downloads
5
Readme
React Auto Scroller
- Horizontal auto scroller
- Detects whether or not the list is long enough to scroll
- Mobile friendly.
Install
npm install --save react-auto-scroller
Usage
import AutoScroller from 'react-auto-scroller'
<AutoScroller speedMod={}> 'your list'</AutoScroller>
- Currently only takes one prop - speedMod=. Default is set to 0.10 I would suggest working with increments of .01
Soon to Come
- scrolling optimization
- additional props, i.e: div and item size, colors for arrows, vertical or horizontal
- vertical mode
License
Apache 2.0