animation: Define an animation
Description
Creates an `animation` object for usage in runAnimation.
Usage
animation(effect, delay = 0, duration = 1000)
Value
A named list with class `animation`.
Arguments
- effect
Animation effect used name to be applied.
Check .cssEffects object for possible options.
- delay
Delay of animation start (in milliseconds).
- duration
Duration of animation (in milliseconds).