WinJS.Utilities.getTotalWidth function

Gets the width of the element, including margins.
Syntax
var number = WinJS.Utilities.getTotalWidth(element);
Parameters
- element
-
Type: HTMLElement
The element.
Return value
Type: Number
The width of the element including margins.
Requirements
|
Minimum WinJS version |
WinJS 1.0 |
|---|---|
|
Namespace |
WinJS.Utilities |
Show: