All Projects → sonicdoe → angular-progress-button

sonicdoe / angular-progress-button

Licence: BSD-2-Clause license
[Unmaintained] Buttons with built-in progress bars for AngularJS

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to angular-progress-button

Cudlr
⛔️ [DEPRECATED] Console for Unity Debugging and Logging Remotely
Stars: ✭ 167 (+518.52%)
Mutual labels:  unmaintained
sauropod
INACTIVE - http://mzl.la/ghe-archive - Sauropod is a secure storage system for user data.
Stars: ✭ 12 (-55.56%)
Mutual labels:  unmaintained
frontend
No description or website provided.
Stars: ✭ 21 (-22.22%)
Mutual labels:  unmaintained
Escomplex
UNMAINTAINED
Stars: ✭ 175 (+548.15%)
Mutual labels:  unmaintained
bamboo
Chef Cookbook for Atlassian Bamboo
Stars: ✭ 15 (-44.44%)
Mutual labels:  unmaintained
r6db
meta, issue and feature-tracking for all cross-site stuff
Stars: ✭ 38 (+40.74%)
Mutual labels:  unmaintained
Chandler
[unmaintained] chandler syncs your CHANGELOG entries to GitHub's release notes
Stars: ✭ 157 (+481.48%)
Mutual labels:  unmaintained
homeassistant-coronavirus-hessen
[Unmaintained] Home Assistant component to scrape the current SARS-CoV-2 data for the German state of Hessen from the website of the Hessisches Ministerium für Soziales und Integration.
Stars: ✭ 15 (-44.44%)
Mutual labels:  unmaintained
SYNFadingLabel
A simple label with UIVisualEffectView vibrancy that automatically fades away.
Stars: ✭ 24 (-11.11%)
Mutual labels:  unmaintained
php.rb
[Retired] PHP.rb translates Ruby code into PHP code.
Stars: ✭ 86 (+218.52%)
Mutual labels:  unmaintained
Wpthumb
⚠️ UNMAINTAINED ⚠️ On demand image resizing for WordPress
Stars: ✭ 181 (+570.37%)
Mutual labels:  unmaintained
Twitchplaysx
🎮 Connect to IRC to send inputs to any program, Twitch Plays Pokemon style. (Windows, Linux, OSX)
Stars: ✭ 227 (+740.74%)
Mutual labels:  unmaintained
Hasal
DEPRECATED - A Framework for testing web performance between different browser
Stars: ✭ 30 (+11.11%)
Mutual labels:  unmaintained
Jquery Jsonrpc
[Unmaintained] JSON-RPC 2.0 client for jQuery.
Stars: ✭ 174 (+544.44%)
Mutual labels:  unmaintained
certbot-dns-loopia
Loopia DNS authentication plugin for Certbot
Stars: ✭ 28 (+3.7%)
Mutual labels:  unmaintained
Jquery Counter
jQuery.counter (javascript + css3)
Stars: ✭ 165 (+511.11%)
Mutual labels:  unmaintained
react-treelist
A React treelist component to display data in tree structure. (NOT MAINTAINED)
Stars: ✭ 28 (+3.7%)
Mutual labels:  unmaintained
wsoh
INACTIVE - http://mzl.la/ghe-archive - World Series of Hack
Stars: ✭ 44 (+62.96%)
Mutual labels:  unmaintained
wol
Ruby Wake-On-LAN
Stars: ✭ 18 (-33.33%)
Mutual labels:  unmaintained
bitcache
[Retired] Distributed, content-addressable storage system.
Stars: ✭ 30 (+11.11%)
Mutual labels:  unmaintained

angular-progress-button

Build Status

Brings buttons with built-in progress meters to AngularJS. Take a look at the example page.

Usage

Installing

Download progress-button.min.js and progress-button.min.css from the dist directory or install using Bower:

$ bower install angular-progress-button

Then include both files.

HTML

As an element

<!-- Simple button -->
<progress-button value="progress">Button</a>

<!-- Custom in-progress and completion text -->
<progress-button value="progress" in-progress="Generating…" complete="Download">Generate</a>

As an attribute

<!-- Simple button -->
<button progress-button value="progress">Button</button>

<!-- Horizontal type -->
<button progress-button value="progress" type="horizontal">Button</button>

<!-- <a> tag with custom in-progress and completion text -->
<a progress-button value="progress" in-progress="Generating…" complete="Download">Generate</a>

Attributes

value (Number)

Progress value, must range from 0 (default) to 1.0.

type (String)

Style of progress animation, horizontal (default), vertical or bottom-bar.

in-progress (String)

Text which is shown when value is between 0 and 1.0, defaults to Loading….

complete (String)

Text which is shown when value is 1.0, defaults to Complete.

JavaScript

angular.module('progressButtonDemo', ['progressButton'])
  .controller('ProgressButtonsCtrl', function($scope) {
    $scope.progress = 0.5;
  })

Running tests

Install all dependencies using:

$ npm install

Run the Karma test runner:

$ ./node_modules/karma/bin/karma start

You can also execute a single run in PhantomJS using grunt test.

Release History

  • v0.3.0 (2015-04-21): Allow directive to be used as an attribute
  • v0.2.0 (2015-01-20):
    • Remove custom color themes
    • Drop -moz- prefix for CSS transitions and CSS gradients
    • Dynamically resize buttons to fit text in any state
  • v0.1.1 (2014-08-03): Add minified version (see dist/)
  • v0.1.0 (2014-06-14): Initial release

License

angular-progress-button is licensed under the BSD 2-clause license. See LICENSE for the full license.


The original design and implementation is from Tutorialzine’s “Buttons With Built-in Progress Meters” tutorial. Their license reads as follows:

The source code and techniques, covered in our tutorials, are free for use in your personal and commercial projects. The text and images of our articles, however, are copyrighted and may not be used or copied without written permission (this includes translation of the articles in different languages).

You can use, modify and build upon our code for your (or your clients’) personal and commercial projects with no attribution necessary.

You are not allowed to redistribute our demo files directly (you are encouraged to share a link to the tutorials instead).

If you plan to include our source code in site templates or to package it with other forms of digital content, meant for direct selling on online marketplaces (such as ThemeForest, ActiveDen etc.), you are required to include a back-link to the article in question on Tutorialzine.com.


angular-progress-button was originally written for a bounty on Bountify. The bounty poster has agreed to put the code under an open-source license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].