Share via


IFetchResult.offset property

Gets or sets the location of the requested item within the items array.

Syntax

var offset = iFetchResult.offset;
iFetchResult.offset = offset;

Property value

Type: Number

The index of the requested item within the items array.

Remarks

For the itemsFromKey, itemsFromIndex, or itemsFromDescription methods, the requested item is the one for which you specified a key, index, or description. For the itemsFromStart and itemsFromEnd methods, the requested item is the first or last item in the data source and therefore the first or last item in the items array.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IFetchResult