IListDataNotificationHandler.moved method
Raises a notification that an item was moved within the IListDataAdapter object's data source.
Syntax
iListDataNotificationHandler.moved(item, previousKey, nextKey, oldIndex, newIndex);
Parameters
item
Type: IItem**The item that was moved.
previousKey
Type: stringThe key of the item that now precedes the new item, or null if the item was moved to the beginning of the list. If nextKey is provided, this parameter may be null.
nextKey
Type: stringThe key of the item that now follows the new item, or null if the item was moved to the end of the list. If previousKey is provided, this parameter may be null.
oldIndex [optional]
Type: NumberThe item's original index.
newIndex [optional]
Type: NumberThe item's new index.
Return value
This method does not return a value.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |