ObservableSet<T> Class
A standard Set
Extends
- Set<T>
Methods
Name | Description | |
---|---|---|
constructor<T>(elements?: Iterable<T, any, any>): ObservableSet<T> | Construct a new ObservableSet. | |
clear(): void | If this set is not already empty, invokes Set.clear | |
delete(item: T): boolean | Invokes Set.delete, raising |
Properties
Name | Type | Description | |
---|---|---|---|
onAdded Readonly | BeEvent<(item: T) => void> | Emitted after item is added to this set. |
|
onCleared Readonly | BeEvent<() => void> | Emitted after this set's contents are cleared. | |
onDeleted Readonly | BeEvent<(item: T) => void> | Emitted after item is deleted from this set. |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.