共用方式為


ListNotificationHandler.indexChanged method

Indicates that the index of an item changed.

Syntax

listNotificationHandler.indexChanged(handle, newIndex, oldIndex);

Parameters

  • handle
    Type: String

    The temporary ID of the item.

  • newIndex
    Type: Number

    The new index.

  • oldIndex
    Type: Number

    The original index.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListNotificationHandler