FuncUnit.prototype.scrollLeft  function     

Gets an element's scrollLeft or waits until it equals a specified value.

// gets the scrollLeft
S("#foo").scrollLeft();

// waits until the scrollLeft is 100
S("#foo").scrollLeft(100) 
func_unit.scrollLeft(scrollLeft, callback) -> String|funcUnit
{optional:Number|Function}

If provided uses this as a check before continuing to the next action. Or you can provide a function that returns true to continue to the next action.

{optional:Function}

a callback that will run after this action completes.

{String|funcUnit}

if scrollLeft is provided, returns the funcUnit selector for chaining, otherwise returns the scrollLeft of the selector.

© Jupiter IT - JavaScriptMVC Training and Support