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.
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
- dataSource
-
Type: IListDataSource
The data source that contains the items to retrieve.
- ranges
-
Type: Array
An array of ISelectionRange objects that have firstIndex and lastIndex values.
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 |
Show: