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 top coordinate of the element relative to the specified parent.
Syntax
var number = WinJS.Utilities.getRelativeTop(element, parent);
Parameters
element
Type: DOMElementThe element.
parent
Type: DOMElementThe parent element.
Return value
Type: Number
The relative top coordinate.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |