Condividi tramite


WinJS.UI.getItemsFromRanges function

Retrieves the items in the specified index range.

Syntax

WinJS.UI.getItemsFromRanges(dataSource, ranges).done( /* Your success and error handlers */ );

Parameters

Return value

Type: Promise**

A Promise that contains an array of the requested IItem objects.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI