WinJS.Utilities.getContentHeight function

Gets the height of the content of the specified element. The content height does not include borders or padding.

Syntax

var number = WinJS.Utilities.getContentHeight(element);

Parameters

  • element
    Type: HTMLElement

    The element

Return value

Type: Number

The content height of the element.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities