Skip to main content

.outerHeight()

.outerHeight( bool margin = false ): int

Returns the height of the element with or without margins.

console.log( 'Height with margins: ', $( "div" ).outerHeight(true) );
console.log( 'Height without margins: ', $( "div" ).outerHeight() );