IListBinding.current method

Applies to Windows and Windows Phone

Retrieves the current item.

Syntax


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

Parameters

This method has no parameters.

Return value

Type: IItemPromise

An IItemPromise that contains the current item. If the cursor has moved past the start or end of the list, the promise completes with a value of null. If the current item has been moved or deleted, the promise returns an error.

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