-
Couldn't load subscription status.
- Fork 4
ObservableMap
API / ObservableMap<TKey, TItem> class
Represents an observable map based on the Map interface.
Extends ReadOnlyObservableMap<TKey, TItem>.
Implements IObservableMap<TKey, TItem>.
class ObservableMap<TKey, TItem>
extends ReadOnlyObservableMap<TKey, TItem>
implements IObservableMap<TKey, TItem>Source reference: src/collections/observableMap/ObservableMap.ts:9.
-
TKey - The type of keys the map contains.
-
TItem - The type of items the map contains.
-
constructor - Initializes a new instance of the
ObservableMap<TKey, TItem>class.
-
inheritedreadonlymapChanged - An event that is raised when the map changed by adding or removing entries. -
inheritedpropertiesChanged - An event that is raised when one or more properties may have changed. -
inheritedsize - Gets the number of entries in the map.
-
overrideclear - Empties the map of all entries. -
overridedelete - Removes the entry having the given givenkeyfrom the map. -
overrideset - Sets the provideditemat the givenkey. If there is an entry already exists with the givenkey, then it is replaced.
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