Repeater.elementFromIndex method

Returns the HTML element for the item at the specified index.

Syntax

var htmlElement = repeater.elementFromIndex(index);

Parameters

  • index
    Type: Number

    The index of the item.

Return value

Type: HTMLElement

The DOM element for the specified item.

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.UI

See also

Repeater