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

Change state of Progress Bar afterAnimateIn #61

Open
fernandofas opened this issue Oct 18, 2020 · 0 comments
Open

Change state of Progress Bar afterAnimateIn #61

fernandofas opened this issue Oct 18, 2020 · 0 comments

Comments

@fernandofas
Copy link

fernandofas commented Oct 18, 2020

How to use the inVisible in this code to change the state of the Progress Bar to animate after the animation is complete?

I'm using react-animate-on-scroll package to animate my page and in this page I have some Progress Bar.

I would like to animate the progress bar after the scroll animation finished.

For example:

The progress bar will animate from the left side and after reach the position on the screen, then will change the width of the bar till the value assigned.

So far, my code looks like this:

[(https://stackoverflow.com/questions/64393319/change-progress-value-afteranimatedin)]

I'm not sure how to change the state of the progress bar inside the function afterAnimatedIn.

React-animate-on-scroll gives the option, but I'm not sure how to implement it.

Any help will be appreciated.

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