search

goog.fx.dom.Scroll

Provided By
Extends
All Implemented Interfaces

Creates an animation object that will scroll an element from A to B.

Start and End should be 2 dimensional arrays

new Scroll( 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 scroll left and top.

end(Array<number>|null)

2D array for end scroll left and top.

timenumber

Length of animation in milliseconds.

opt_acc(Function|null)=

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

Instance Methods

Instance Properties