organism-react-scroll-nav

A React scroll spy library with flux

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
organism-react-scroll-nav
801.1.27 months ago8 years agoMinified + gzip package size for organism-react-scroll-nav in KB

Readme

CircleCI
React Scroll Spy Library (organism-react-scroll-nav)
* GIT
   * https://github.com/react-atomic/organism-react-scroll-nav
* NPM
   * https://www.npmjs.com/package/organism-react-scroll-nav

Example Usage

  • Code: https://github.com/react-atomic/organism-react-scroll-nav/blob/main/ui/pages/index.jsx

Live Demo Url

  • https://react-atomic.github.io/organism-react-scroll-nav

Test in local

./compile.sh s

Go to http://localhost:3000

dispatch

fast store

import {fastScrollStore} from "organism-react-scroll-nav";
fastScrollStore.scroller.dispatch(/* xxx */);

slow store

import {scrollStore} from "organism-react-scroll-nav";
scrollStore.scroller.dispatch(/* xxx */);

Inspire

  • https://github.com/fisshy/react-scroll
  • https://github.com/klyngbaek/react-scroll-nav
  • https://github.com/stutrek/scrollMonitor
  • https://github.com/yui/yui3/blob/master/src/node-scroll-info/js/node-scroll-info.js