INotifyCollectionChanged - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / INotifyCollectionChanged<TItem> interface
Notifies when a collection has items added or removed to it. Item reordering is handled through the INotifyCollectionReordered<TItem>
interface.
Any collection change can be reduced to Array.splice, event handlers receive all the relevant information to easily reproduce the operation on mapped collections.
interface INotifyCollectionChanged<TItem>
Source reference: src/collections/observableCollections/INotifyCollectionChanged.ts:11
.
- TItem - The type of items the collection contains.
-
readonly
collectionChanged - An event that is raised when the collection changed by adding or removing items.