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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Show:
© 2014 Microsoft