plus1tv / react-anime

✨ (ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React!
https://codepen.io/collection/nrkjgo/
MIT License
1.55k stars 81 forks source link

Questions #9

Closed polmoneys closed 8 years ago

polmoneys commented 8 years ago

It would be lovely if there were moar examples on the readme, I can't seem to trigger another animation using the complete callback, like in https://github.com/juliangarnier/anime/blob/master/examples/callbacks.html

TIA

kennetpostigo commented 8 years ago

Hey @polmoneys you are definitely right! We have some examples that aren't linked in the docs just been busy since we're working on stuff for our research company. Here are the links to the other examples:

Are these helpful?

polmoneys commented 8 years ago

Fantastic, gracias !

abattenburg commented 8 years ago

I'm also having trouble triggering the complete callback. Looking at the documentation, I've tried passing a second previously declared function in as a parameter, and declaring a new one inside the function. Neither seems to have any effect. Thanks for the help, I know I'm missing something obvious here...

alaingalvan commented 7 years ago

@abattenburg I made a quick pen that uses the complete callback, and it seems to be working, have you tried updating your version of React Anime?