riot-animate - Animate Riot 2
This riot mixin is inspired by
ngAnimate, and provides an animation system for mounts and unmounts.
You can have an animation CSS class and use an ngAnimate style system, linking animations to
To have animations on unmount, you must
this.animateUnmount(). This allows for a 'leave' animation to occur before unmounting, i.e. removing DOM elements from the file.
In addition, you can easily use animate.css and use the attributes
animate-leave, along with adding
Not everything has been tested in extent yet. Please feel free to fork or submit an issue.