.scroll()
FuncUnit.prototype.scroll
scroll(direction, amount, success)
Scrolls an element in a particular direction by setting the scrollTop or scrollLeft.
Parameters
-
direction
{String}
"left" or "top"
-
amount
{Number}
number of pixels to scroll
-
success
{function()}