Git Product home page Git Product logo

ember-progress-bar's Introduction

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}}

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.

ember-progress-bar's People

Contributors

briarsweetbriar avatar ember-tomster avatar null-null-null avatar stefanpenner avatar vvscode avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.