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

Bar hiding before time #10

Open
danilonascimento0 opened this issue Jul 4, 2017 · 0 comments
Open

Bar hiding before time #10

danilonascimento0 opened this issue Jul 4, 2017 · 0 comments

Comments

@danilonascimento0
Copy link

  • I'm submitting a ...
    [ ] bug report
    [x ] feature request
    [ ] question about the decisions made in the repository

Hi guys,

First of all, thanks for library, is really helpful

But, I started using it now and realized the need to pause before finishing.
That is because my server can responding after the bar is complete. And that is not an expected behavior.

To make that work on my project, I changed:
if (_this.progress === 100) {
_this.complete();
}
to:
if (_this.progress === 95) {
_this.stop();
}
And I force myself to use the "slimLoader.complete()" when request is finish.

I hope not offending, but in my experience, that is necessary.

Thanks for attention.

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