Compartilhar via


IListBinding.current method

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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListBinding