JAVASCRIPT
Animate.css Utility
All samples are using Ink.requireModules
, please read how to use it at Ink.requireModules section
Method name | Description |
---|---|
new Animate_1(element, options) | Constructor |
.animate(element, animation, [options]) |
Property name | Description |
---|---|
.animationEndEventName | Prefixed 'animationend' event name. |
.animationSupported | Boolean which says whether this browser has CSS3 animation support. |
element
Animated elementoptions
Options objectoptions.animation
Animation nameoptions.duration
Duration name (fast|medium|slow) or duration in milliseconds. Defaults to 'medium'.options.removeClass
Flag to remove the CSS class when finished animating. Defaults to false.options.onEnd
Callback for the animation endDemo
Animation is the process of creating a continuous motion and shape change illusion by means of the rapid display of a sequence of static images that minimally differ from each other. The illusion—as in motion pictures in general—is thought to rely on the phi phenomenon.
Code
Fade out and remove an element.
Code
Create an element, place it and fade it in.
Code
element
Animated elementanimation
Animation nameoptions
Options object, containing:options.onEnd
nullCallback for animation end.options.removeClass
falseWhether to remove the Css class when finished.options.duration
mediumDuration name (the fast|medium|slow strings) or, duration in milliseconds.Prefixed 'animationend' event name.
Boolean which says whether this browser has CSS3 animation support.