The changed args object which is emitted by an observable list.

interface IChangedArgs<T> {
    newIndex: number;
    newValues: T[];
    oldIndex: number;
    oldValues: T[];
    type: IObservableList.ChangeType;
}

Type Parameters

  • T

Properties

newIndex: number

The new index associated with the change.

newValues: T[]

The new values associated with the change.

Notes

The values will be contiguous starting at the newIndex.

oldIndex: number

The old index associated with the change.

oldValues: T[]

The old values associated with the change.

Notes

The values will be contiguous starting at the oldIndex.

The type of change undergone by the vector.