Constructor
new ObservableExpandedKeySet(initialValue)
Create an observable version of a KeySet.
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
initialValue |
ExpandedKeySet | ExpandAllKeySet |
<optional> |
The KeySet to observe. |
Methods
-
add(keys) → {ObservableExpandedKeySet}
-
Updates the observable with a KeySet that includes the specified keys.
Parameters:
Name Type Description keysSet | Array a set of keys to add to this KeySet. Returns:
this observable KeySet. -
addAll() → {ObservableExpandedKeySet}
-
Updates the observable with a KeySet that has all keys.
Returns:
this observable KeySet. -
clear() → {ObservableExpandedKeySet}
-
Updates the observable with a KeySet that contains no keys.
Returns:
this observable KeySet. -
delete(keys) → {ObservableExpandedKeySet}
-
Updates the observable with a KeySet that excludes the specified keys.
Parameters:
Name Type Description keysSet | Array a set of keys to remove from this KeySet. Returns:
this observable KeySet.