FuncUnit.prototype.outerWidth  function     

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

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

// waits until the outerWidth is 100
S("#foo").outerWidth(100) 
func_unit.outerWidth(outerWidth, 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 outerWidth is provided, returns the funcUnit selector for chaining, otherwise returns the outerWidth of the selector.

© Jupiter IT - JavaScriptMVC Training and Support