search

goog.fx.dom.BgColorTransform

Provided By
Extends
All Implemented Interfaces

Provides a transformation of an elements background-color.

Start and End should be 3D arrays representing R,G,B

new BgColorTransform( element, start, end, time, opt_acc )

Parameters
element(Element|null)

Dom Node to be used in the animation.

start(Array<number>|null)

3D Array for RGB of start color.

end(Array<number>|null)

3D Array for RGB of end color.

timenumber

Length of animation in milliseconds.

opt_acc(Function|null)=

Acceleration function, returns 0-1 for inputs 0-1.

Instance Methods

Instance Properties