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.
Returns the index of the item that the specified Document Object Model (DOM) element displays.
Syntax
var number = listView.indexOfElement(element);
Parameters
element
Type: HTMLElementThe DOM element that displays the item.
Return value
Type: Number
The index of the item displayed by element.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |