Socket
Socket
Sign inDemoInstall

scroll-fever

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    scroll-fever

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


Version published
Maintainers
1
Install size
22.9 kB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 09 Jul 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc