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

cfp.loadingBar.status() not working

Open rja907 opened this issue 6 years ago • 1 comments

What version of angular-loading-bar are you using? 0.9.0 What version of AngularJS are you using? 1.6.1 What browsers are affected? All Please describe the issue Using angular-loading-bar on my AngularJS project and I love it.

Is there any way I can check the status of the loading bar and hide/disable a button based on that?

I saw the Service API but that doesn't seem to work.

When I try to use cfp.loadingBar.status(), the app just does not respond.

angular.module('myApp', [cfpLoadingBar])

What did you expect to happen? Get a status percentage using console.log(cfp.loadingBar.status()).

rja907 avatar Oct 29 '19 18:10 rja907

@chieffancypants @faceleg @PatrickJS

rja907 avatar Oct 29 '19 18:10 rja907