-
Notifications
You must be signed in to change notification settings - Fork 2
ObservableSet
API / ObservableSet<TItem> class
Represents a read-only observable set based on the Set interface.
Extends ReadOnlyObservableSet<TItem>.
Implements IObservableSet<TItem>.
class ObservableSet<TItem>
extends ReadOnlyObservableSet<TItem>
implements IObservableSet<TItem>
Source reference: src/collections/observableSet/ObservableSet.ts:8
.
- TItem - The type of items the set contains.
-
constructor - Initializes a new instance of the
ObservableSet<TItem>
class.
-
inherited
propertiesChanged - An event that is raised when one or more properties may have changed. -
inherited
readonly
setChanged - An event that is raised when the set changed by adding or removing items. -
inherited
size - Gets the number of items in the set.
-
override
add - Ensures the provideditem
is in the set. There can be at most only one instance of an item in a set at any given time. -
override
clear - Empties the set of all items. -
override
delete - Ensures the provideditem
is not in the set.
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