angular-loading-bar icon indicating copy to clipboard operation
angular-loading-bar copied to clipboard

Updating progressBar from a callback

Open jrmcdona opened this issue 8 years ago • 2 comments

Hello, I am able to use this loading bar, but in some circumstance I wait for a call back. Is there anyway to include in your current implementation or have ideas about it?

Thanks

What version of angular-loading-bar are you using?

What version of AngularJS are you using? 1.3.8 What browsers are affected?

Please provide either a JSFiddle, Plunkr example that replicates the issue

Please describe the issue

What did you expect to happen?

What actually happened?

jrmcdona avatar Jun 14 '16 03:06 jrmcdona

I don't know what you're asking for

faceleg avatar Jun 15 '16 02:06 faceleg

There is some way to change current status.

Try to use cfpLoadingBar.set(n);.

0 <= n <= 1;

for example $interval(function(){ var status = cfpLoadingBar.status(); if(status > 0.9 && is_complete == false){ cfpLoadingBar.set(0.9); } });

daebok0217 avatar Aug 09 '16 23:08 daebok0217