search

goog.fx.dom.Resize

Provided By
Extends
All Implemented Interfaces

Creates an animation object that will resize an element between two widths and heights.

Start and End should be 2 dimensional arrays

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

Parameters
element(Element|null)

Dom Node to be used in the animation.

start(Array<number>|null)

2D array for start width and height.

end(Array<number>|null)

2D array for end width and height.

timenumber

Length of animation in milliseconds.

opt_acc(Function|null)=

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

Instance Methods

Instance Properties