Skip to content

m0to/orbicular

 
 

Repository files navigation

CSS Circular Progress Bar

Build Status

Based on the technique used at http://fromanegg.com/post/41302147556/100-pure-css-radial-progress-bar

Installation

  1. Open bower.json
  2. Add "orbicular": "~1.0.2" to your dependency list
  3. Run bower install
  4. In your application you can now add:
    • <script src="bower_components/orbicular/orbicular/orbicular.js"></script>
  5. Copy / include the SCSS files into your project
    • Customise the styles using _orbicular_config.scss
  6. The circle size is based on the parent elements width.

Usage

Create your progress element:

<orbicular progress="downloaded" total="size">Text in the circle</orbicular>

Where $scope.downloaded and $scope.size are the variables used in the example to track the progress of a download.

About

A CSS based circular progress bar for AngularJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 83.9%
  • CSS 16.1%