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

Optimize loading animation #86

Merged
merged 7 commits into from
Sep 18, 2020
Merged

Optimize loading animation #86

merged 7 commits into from
Sep 18, 2020

Conversation

setaman
Copy link
Owner

@setaman setaman commented Sep 18, 2020

No description provided.

@setaman setaman merged commit 5117047 into dev Sep 18, 2020
@setaman setaman deleted the optimize-loading-animation branch September 19, 2020 10:59
@setaman setaman linked an issue Sep 19, 2020 that may be closed by this pull request
@rameez-iqbal
Copy link

rameez-iqbal commented Dec 13, 2020

is there any call back when the animation end?

@rameez-iqbal
Copy link

suppose we display the loader for 10 sec after that callback function will be call.

@rameez-iqbal
Copy link

some thing like that when we click on button the loader is stop and then resume again.

@setaman
Copy link
Owner Author

setaman commented Dec 13, 2020

hey @HA-NA123. There are no callbacks and no events. All states are controlled externally by props. The component has no hidden states. For example, the component is in loading state as long as :loading="true" is. So you know that loading is complete when loading is set to false. And you can change this prop as you like, on button click or whatever else.

Do you have a specific use case where you would certainly need some kind of callbacks or events for state changes?

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

Successfully merging this pull request may close these issues.

The dot is not working on IOS device
2 participants