-
Notifications
You must be signed in to change notification settings - Fork 158
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
Is there any way to make it work in an async way? #116
Comments
Hi @Sean-Y-X Unfortunately there is no support for this feature at the moment. I think it will be a good addition, though will add several states to the widget. Currently the widget is either "ready" or "completed". What you're suggesting is to add the "loading" state (with some sort of animation that is missing at the moment), as well as some handling of error (like what should happen if the API call fails?). I'm leaving this open if someone wants to propose an implementation. I'm happy to discuss it/review it. |
Thanks for this awesome library.
Just wondering if there is any way to make it async.
For example, aftering sliding to the right, call an api and waiting for the api response then show the complete animation.
The text was updated successfully, but these errors were encountered: