Open abhinavkumar985 opened 3 years ago
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
Hi, I was curious as well. Looking at the source code, I found the get() function:
get()
https://github.com/hilongjw/vue-progressbar/blob/a803468fd74d5c574595000d9ef394de5412d710/src/index.js#L72-L74
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