Socket
Socket
Sign inDemoInstall

ember-progress-bar

Package Overview
Dependencies
228
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ember-progress-bar

An Ember.js wrapper and component for ProgressBar.js.


Version published
Weekly downloads
537
decreased by-13.25%
Maintainers
1
Install size
16.2 MB
Created
Weekly downloads
 

Readme

Source

npm version Build Status

ember-progress-bar

Wraps the versatile ProgressBar.js in an Ember.js component.

Installation

ember install ember-progress-bar

Usage

{{ember-progress-bar}}

shape

By default, ember-progress-bar renders a Line progress bar, but ProgressBar.js provides several other shapes, as well as an api for custom options. You can specify these with the shape attribute:

{{ember-progress-bar shape="Circle"}}

{{ember-progress-bar shape="SemiCircle"}}

{{ember-progress-bar shape="Path"}}

progress

A float between 0 and 1, with 1 being progress complete:

{{ember-progress-bar progress=progress}}

setProgress

The initial progress that the bar will render with.

{{ember-progress-bar setProgress=0.5}}

useDefaultStep

A boolean, defaulting to false. If true, the component will render a number between 0 and 100, tracking the progress of the bar:

{{ember-progress-bar useDefaultStep=true}}

options

A hash of options, which are fed directly to ProgressBar.js. Consult their api for more info.

{{ember-progress-bar options=(hash strokeWidth=10 duration=1000)}}

onAnimationComplete

An action which will be fired at animation end ( fired by animated callback ) to handle animation process.

Keywords

FAQs

Last updated on 18 Mar 2018

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