scroll-fever

0.0.0 • Public • Published

Scroll Fever

A progress bar that fills up as you scroll down the page in your browser.

Installation

npm install scroll-fever --save

Usage

In your application's javascript file:

// pre-browserify.js
var ScrollFever = require('scroll-fever')
new ScrollFever()

Add styles:

#scroll-fever {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 6px;
  background: red;
}

Use browserify to bundle it up for the browser:

browserify pre-browserify.js -o post-browserify.js

Demo

See the demo directory in the repo.

/scroll-fever/

    Package Sidebar

    Install

    npm i scroll-fever

    Weekly Downloads

    0

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • zeke