0.5.0 • Published 7 years ago

ember-scroll-progress v0.5.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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/.

0.5.0

7 years ago

0.4.1

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago