Open yang opened 6 years ago
You can pass parameters into:
const flipping = new Flipping({
duration: 300,
easing: 'ease-in-out'
});
etc.
Is it possible to customize this on a per-element (flip-key) level?
Or rather, per (element, property)
No, but that's a good idea. I'm still thinking of the proper API for that, it will likely be state-machine based.
I created a PR to add this to the readme https://github.com/davidkpiano/flipping/pull/14
Thanks for the wonderful library! How does one tweak the animation in play, such as easing/spring parameters, duration, etc.?