elementFromIndex method
Collapse the table of content
Expand the table of content

ListView.elementFromIndex method

Applies to Windows and Windows Phone

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

ListView

 

 

Show:
© 2016 Microsoft