The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ListView.elementFromIndex method

Returns the Document Object Model (DOM) element that represents the item at the specified index.
Syntax
var htmlElement = listView.elementFromIndex(itemIndex);
Parameters
- itemIndex
-
Type: Number
The index of the item.
Return value
Type: HTMLElement
The DOM element that represents the item at the specified index.
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: