FuncUnit.prototype.height  function     

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

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

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

© Jupiter IT - JavaScriptMVC Training and Support