.outerHeight()
FuncUnit.prototype.outerHeight
outerHeight([outerHeight] [,timeout] [,success] [,message])
Gets an element's outerHeight or waits until it equals a specified value.
// gets the outerHeight
F("#foo").outerHeight();
// waits until the outerHeight is 100
F("#foo").outerHeight(100)
Parameters
-
outerHeight
{Number | function()}
OptionalIf 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.
-
timeout
{Number}
Optionaloverrides FuncUnit.timeout. If provided, the wait will fail if not completed before this timeout.
-
success
{function()}
Optionala callback that will run after this action completes.
-
message
{String}
Optionalif provided, an assertion will be passed when this wait condition completes successfully
Returns
{String | funcUnit}
if outerHeight is provided, returns the funcUnit selector for chaining, otherwise returns the outerHeight of the selector.