animate(element: any, className: string): Promise
Execute a single animation.
Parameters
element: any
Element to animate
className: string
Properties to animate or name of the effect to use. For css animators this represents the className to be added and removed right after the animation is done.
Returns
Resolved when the animation is done