$animate
Animates an element using almost all animations from animate.css. A list of all usable animations can be retrieved using $animate.i and $animate.o
$animate(el, anim, cb)
| Parameter | Type | Description |
|---|---|---|
| el | HTMLElement | The HTML element to apply the animation to |
| anim | String | The name of the animation to apply. Can be anything from $animate.i and $animate.o |
| cb | Function | The callback to be called with true when the animation finishes. |
$animate.i
An array of all opening animations.
$animate.o
An array of all closing animations.