ILayout2.itemsFromRange method

Retrieves the indexes of the items in the specified pixel range.
Syntax
iLayout2.itemsFromRange(firstPixel, lastPixel);
Parameters
- firstPixel
-
Type: Number
The first pixel the range of items falls between.
- lastPixel
-
Type: Number
The last pixel the range of items falls between.
Return value
An object that has these properties:
| Term | Description |
|---|---|
|
The index of the first item in the specified range. | |
|
The index of the last item in the specified range. |
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: