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

Method to get current status of progress bar | Feature request #100

Open
abhinavkumar985 opened this issue Jun 15, 2021 · 1 comment
Open

Comments

@abhinavkumar985
Copy link

I want to get the status of the progress bar at the any moment in any where of my code, where one is in progress or finished.

this.$progress.start();

// some code
// some more code
let status = this.$progress.status(); // Required {status: 'open', progress: 20%}

if(status){
// do something
}

this.$progress.finish();
// End

@aesyondu
Copy link

Hi, I was curious as well. Looking at the source code, I found the get() function:

get () {
return Math.floor(this.$vm.RADON_LOADING_BAR.percent)
},

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

2 participants