window offsetheight code example
Example 1: offsetheight javascript
// The HTMLElement.offsetHeight read-only property returns the height
// of an element, including vertical padding and borders, as an integer.
let intElemOffsetHeight = element.offsetHeight;
Example 2: javascript element height
var intElemOffsetHeight = element.offsetHeight;