ObservableSet<T> Class
Beta
A standard Set that emits events when its contents change.
Extends
Inherited methods
| Name |
Inherited from |
Description |
| __@iterator(): IterableIterator<T> |
[Set.Symbol |
Iterates over values in the set. |
| entries(): IterableIterator<[T, T]> |
Set |
Returns an iterable of [v,v] pairs for every value v in the set. |
| forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void |
Set |
|
| has(value: T): boolean |
Set |
|
| keys(): IterableIterator<T> |
Set |
Despite its name, returns an iterable of the values in the set, |
| values(): IterableIterator<T> |
Set |
Returns an iterable of values in the set. |
Properties
| Name |
Type |
Description |
|
| onAdded |
BeEvent<(item: T) => void> |
Emitted after item is added to this set. |
|
| onCleared |
BeEvent<() => void> |
Emitted after this set's contents are cleared. |
|
| onDeleted |
BeEvent<(item: T) => void> |
Emitted after item is deleted from this set. |
|
| Set Static |
SetConstructor |
|
|
Inherited properties
| Name |
Type |
Inherited from |
Description |
| __@toStringTag |
string |
[Set.Symbol |
|
| size |
number |
Set |
|
Defined in
Last Updated:
08 January, 2020