Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

cfp.loadingBar.status() not working #385

Description

@rja907

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()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions