Partager via


List.move method

Moves the value at index to the specified position.

Syntax

list.move(index, newIndex);

Parameters

  • index
    Type: Number

    The original index of the value.

  • newIndex
    Type: Number

    The index of the value after the move.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List