Re:Show HN: ngProgress - slim, site-wide progressbar for Ang...
by diggan on Wednesday August 21, 2013 @11:18AM
(#6250916)
Oh, yes, I totally missed that and that seems very reasonable actually. I've now changed (commit 34e3c16 http://git.io/4MeJNg) so the start-method will stop at 95% instead of stopping at 100%.
[ Parent
| on HN ]
Re:Show HN: ngProgress - slim, site-wide progressbar for Ang...
by bib971 on Wednesday August 21, 2013 @01:44PM
(#6252054)
One technique that I used when building my own progress indicator is using a maths function which approaches 0 as the progress bar approaches 100% and use the result to increase the progress.
That way, the progress bar appears moving slower and slower but never actually hits 100%. I think that's better than having the progress bar completely stalled at 95%. See code here: https://github.com/buunguyen/rainbow.js/blob/master/src/rain....