Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pace-cis

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pace-cis

  • 0.0.5
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

pace-cis

Automatic page load progress bar.

Include pace.js and a CSS theme of your choice, and you get a beautiful progress indicator for your page load and ajax navigation.

No need to hook into any of your code, progress is detected automatically.

INSTALLTION

First thing you need to do is the installation , you can follow the below mentioned steps to install the gem inside your rails application. You need to add sudo if you are not using rvm(ruby version manager)

Add this following line in your Gemfile.

gem 'pace-cis'

Then run,

bundle install

Configuration:

If your working in Rails version >= 3 then just run the below command

  rails g pace_cis:install

Running the above command will insert the required things into your js and css files the default css it include is the "pace-theme-corner-indicator" if you want to change it as per your projects requirement then other options are shown below.

But if you are using Rails version <=2 then go for the below steps

Then you need to add the following line on your application.js

  //= require pace

Then add the required line in application.css

  *= require pace-theme-big-counter

Or

  *= require pace-theme-barber-shop

Or

  *= require pace-theme-bounce

Or

  *= require pace-theme-center-circle

Or

  *= require pace-theme-corner-indicator

Or

  *= require pace-theme-fill-left

Or

  *= require pace-theme-flash

Or

  *= require pace-theme-flat-top

Or

  *= require pace-theme-mac-osx

Or

  *= require pace-theme-minimal

If you want to change the color of the progress bar according to your project requirement:

  .pace .pace-progress:after {
    color :green !important;
  }

Reference Site:

For more information you can refer to following site:

pace.js

FAQs

Package last updated on 07 Nov 2013

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc