-
Notifications
You must be signed in to change notification settings - Fork 2
INotifyCollectionReordered
API / INotifyCollectionReordered<TItem> interface
Notifies when a collection has its items reordered. Adding and removing items is handled through the INotifyCollectionChanged<TItem>
interface.
A core interface for observable collections. Components can react to this and display the new value as a consequence.
Any collection change can be reduced to Array.splice, event handlers can splice entire mapped collections to get all items in the same order.
Additionally, event handlers receive all the necessary information about how each item has moved inside the collection making it easy to add animations when it happens.
interface INotifyCollectionReordered<TItem>
Source reference: src/collections/observableCollections/INotifyCollectionReordered.ts:15
.
- TItem - The type of items the collection contains.
-
readonly
collectionReordered - An event that is raised when the collection changed.
Overview
Motivation
Guides and Tutorials - Getting Started
Releases
CodeSandbox
API
Events
IEvent
IEventHandler
EventDispatcher
ViewModels
INotifyPropertiesChanged
ViewModel
Forms
Form
IFormFieldConfig
FormField
ReadOnlyFormCollection
FormCollection
IConfigurableFormCollection
FormSetupCallback
Validation
IValidator
ValidatorCallback
IObjectValidator
IValidatable
Validation / Triggers
WellKnownValidationTrigger
ValidationTrigger
Observable Collection
ReadOnlyObservableCollection
ObservableCollection
INotifyCollectionChanged
CollectionChangeOperation
INotifyCollectionReordered
CollectionReorderOperation
Observable Map
ReadOnlyObservableMap
ObservableMap
INotifyMapChanged
MapChangeOperation
Observable Set
ReadOnlyObservableSet
ObservableSet
INotifySetChanged
SetChangeOperation
Dependency Handling
IDependencyResolver
IDependencyContainer
DependencyContainer
useDependency
useViewModelDependency
useDependencyResolver
React Hooks
useViewModel
useViewModelMemo
useObservableCollection
useObservableMap
useObservableSet