🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

ember-scroll-progress

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-scroll-progress

A simple ember addon component for displaying an amount a page is scrolled via a progress bar

0.5.0
latest
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created

ember-scroll-progress

npm version Build Status

A simple ember addon component for displaying an amount a page is scrolled via a progress bar. Scroll the page to view this page's progress on top.

DEMO

Usage


  {{#ember-scroll-progress
    height=5
    color="red"
    reduceOffsetTopBy=85
  }}
    <!-- page content -->
  {{/ember-scroll-progress}}

Parameters

  • height to customize the the height of the progress bar.
  • color to provide a customizable color/color code for the progress bar.
  • reduceOffsetTopBy to set the top offset based on the scroll container's top position inside the page.

Installation

  • git clone <repository-url> this repository
  • cd ember-scroll-progress
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

Keywords

FAQs

Package last updated on 02 Oct 2017

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