search

goog.fx.dom.Fade

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Creates an animation object that fades the opacity of an element between two limits.

Start and End should be floats between 0 and 1

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

Parameters
element(Element|null)

Dom Node to be used in the animation.

start(Array<number>|number|null)

1D Array or Number with start opacity.

end(Array<number>|number|null)

1D Array or Number for end opacity.

timenumber

Length of animation in milliseconds.

opt_acc(Function|null)=

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

Instance Methods

Instance Properties