react-scroll-loop

0.0.10 • Public • Published

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-loop
cd react-scroll-loop/demo
open index.html (by browser)

Usage

MIT Licensed

Readme

Keywords

Package Sidebar

Install

npm i react-scroll-loop

Weekly Downloads

0

Version

0.0.10

License

MIT

Last publish

Collaborators

  • qilovehua