Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the width of the content of the specified element. The content width does not include borders or padding.
Syntax
var number = WinJS.Utilities.getContentWidth(element);
Parameters
element
Type: HTMLElementThe element.
Return value
Type: Number
The content width of the element.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |