Open Crizzooo opened 7 years ago
Nevermind, my mistake. Easing and Elasticity cannot both be applied at same time. My apologies!
Nope, the above was an issue, but even with the easing prop removed, it appears that the elasticity function is never fired.
Does react-anime take in elasticity functions as well as numbers? My above example works if elasticity={400}
for all children, but I want to make it dynamic based on the indexes of the children...
To recap, functions appear to be called in duration and delay props of Anime
components, but elasticity funcs are not called.
Hey all,
I'm trying to do some function based elasticity per the anime.js documentation.
The following works for duration and delay, but not for elasticity. Does React-Anime not support this feature? The function doesnt appear to have any impact on elasticity.
The function gets called and logs for delay, but never does so for elasticity.