digital-flowers / react-animated-css

React component to show or hide elements with animations
https://digital-flowers.github.io/react-animated-css.html
232 stars 36 forks source link

Animation is over #12

Closed Sler69 closed 5 years ago

Sler69 commented 6 years ago

The library is awesome I love the implementation. I was just wondering if there is a way to know if the animation is over?

digital-flowers commented 6 years ago

Sorry at moment you can't because it's css animation

ikhilko commented 5 years ago

@digital-flowers why not? You can listen for animation using onAnimationEnd (not sure, but react have such synthetic event) or manually adding event listener for onanimationend dom event.

digital-flowers commented 5 years ago

@ikhilko if you can help in that would be glad to add you as a contributor