-
Notifications
You must be signed in to change notification settings - Fork 2
ReadOnlyObservableMap.set
API / ReadOnlyObservableMap<TKey, TItem> / set method
Sets the provided item
at the given key
. If there is an entry already exists with the given key
, then it is replaced.
protected set(
key: TKey,
item: TItem
): this
Source reference: src/collections/observableMap/ReadOnlyObservableMap.ts:134
.
-
key: TKey
The key to set the item at. -
item: TItem
The item to add to the map.
Returns: this
The observable map on which the operation is performed.
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