Class

Methods

Class

O.StyleAnimation

Animates the CSS styles of an element without using CSS transitions. This is
used in browsers that don't support CSS transitions, but could also be
useful if you want to animate an element using an easing method not
supported by CSS transitions.

Note, only the following CSS properties are currently supported by this
class (all others will be set immediately without transition):

Protected Method

O.StyleAnimation#prepare( styles )

Goes through the new styles for the element, works out which of these
can be animated, and caches the delta value (difference between end and
start value) for each one to save duplicated calculation when drawing a
frame.