react-scroll-loop
Demo
scrollOptions: file:///Users/whoami/react-scroll-loop/demo/index.html?auto=1&height=230&minSpeed=10
Config Options
Scroll can take an optional second parameter– an object of key/value settings:
-
speed Integer (default:2000) - speed of transitions in milliseconds.
-
minSpeed Integer (default:10) - min speed of transitions in milliseconds.
-
height Integer (default:200, required) - container's style.height = height + 'px'.
-
auto Integer - begin with auto scroll
-
transitionEnd Function - runs at the end slide transition.
How to use demo
git clone react-scroll-loopcd react-scroll-loop/demoopen index.html
Usage
MIT Licensed