Share via


WinJS.Utilities.getTotalHeight function

Gets the height of the element, including its margins.

Syntax

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

Parameters

  • element
    Type: HTMLElement

    The element

Return value

Type: Number

The height of the element including margins.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities