WinJS.Utilities.getRelativeLeft function
Gets the left coordinate of the specified element relative to the specified parent.
Syntax
var number = WinJS.Utilities.getRelativeLeft(element, parent);
Parameters
element
Type: DOMElementThe element.
parent
Type: DOMElementThe parent element.
Return value
Type: Number
The relative left coordinate.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |