Class Index | File Index

Classes


Namespace Jelo.Anim

Animation support.
Defined in: Jelo.Anim.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
Jelo.Anim.Easing
Easing functions.
Method Summary
Method Attributes Method Name and Description
<static>  
Jelo.Anim.ate(config)
Animate a CSS property of a given element.
<static>  
Jelo.Anim.ating()
<static>  
Jelo.Anim.setDefaultDuration(Seconds,)
Changes the default animation duration, used whenever the duration property is not explicitly set.
<static>  
Jelo.Anim.stopAll()
Immediately halts and cancels all pending animations.
Namespace Detail
Jelo.Anim
Field Detail
<static> {Object} Jelo.Anim.Easing
Easing functions.
Method Detail
<static> Jelo.Anim.ate(config)
Animate a CSS property of a given element.
Parameters:
{Object} config
A configuration object.
{HTMLElement|String} config.me
Object to animate, or a CSS selector for which the first matching element will be used.
{String} config.css
Property to animate.
{String|Number} config.from Optional
Starting value for the animation.
config.to
{String|Number} Ending value for the animation
{Function} config.before Optional
Method to invoke immediately before the animation starts.
{Function} config.after Optional
Method to invoke immediately after the animation finishes.
{Number} config.duration Optional, Default: 0.5
How many seconds the animation should last.
{Function|String} config.easing Optional, Default: "linear"
How to calculate property values. If a string is supplied, it must match a Jelo.Anim.Easing property name (case insensitive).

<static> {Boolean} Jelo.Anim.ating()
Returns:
{Boolean} True if there are currently animations in the queue.

<static> Jelo.Anim.setDefaultDuration(Seconds,)
Changes the default animation duration, used whenever the duration property is not explicitly set.
Parameters:
{Number} Seconds,
as a whole or decimal number.

<static> Jelo.Anim.stopAll()
Immediately halts and cancels all pending animations. References are not stored, the animations are gone.

Documentation generated by JsDoc Toolkit 2.1.0 on Mon Mar 15 2010 14:48:20 GMT-0700 (PDT)