Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cfp.loadingBar.status() not working #385

Open
rja907 opened this issue Oct 29, 2019 · 1 comment
Open

cfp.loadingBar.status() not working #385

rja907 opened this issue Oct 29, 2019 · 1 comment

Comments

@rja907
Copy link

rja907 commented Oct 29, 2019

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
Copy link
Author

rja907 commented Oct 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant