search

goog.fx.dom.Swipe

Provided By
Extends
All Implemented Interfaces

Creates an animation object that will slide an element into its final size. Requires that the element is absolutely positioned.

new Swipe( 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 size (W, H).

end(Array<number>|null)

2D array for end size (W, H).

timenumber

Length of animation in milliseconds.

opt_acc(Function|null)=

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

Instance Methods

Instance Properties