CellSpanningLayout.itemsFromRange method

Applies to Windows only

This API supports the Windows Library for JavaScript infrastructure and is not intended to be used directly from your code.

Syntax


cellSpanningLayout.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:

TermDescription

firstIndex

The index of the first item in the specified range.

lastIndex

The index of the last item in the specified range.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

CellSpanningLayout

 

 

Show:
© 2014 Microsoft. All rights reserved.