ICollectionItemMove - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / ICollectionItemMove<TItem> interface
Contains information about the change in the collection.
interface ICollectionItemMove<TItem>
Source reference: src/collections/observableCollections/ICollectionReorder.ts:27
.
- TItem - The type of items the collection contains.
-
readonly
currentIndex - Gets the index ofICollectionItemMove.currentItem
. -
readonly
currentItem - Gets the item that was placed onICollectionItemMove.currentIndex
. -
readonly
previousIndex - Gets the index from whereICollectionItemMove.currentItem
was moved. -
readonly
previousItem - Gets the item that was previously atICollectionItemMove.currentIndex
.