IListBinding.previous method

Applies to Windows and Windows Phone

Retrieves the item before the current item and makes it the current item.

Syntax


iListBinding.previous().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: IItemPromise

An IItemPromise that contains the item before the current item. If the cursor moves past the start of the list, the promise completes with a value of null.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

See also

IListBinding

 

 

Show:
© 2014 Microsoft