Class: ObservableExpandedKeySet

Oracle® JavaScript Extension Toolkit (JET)
4.2.0

E91398-01

QuickNav

ObservableExpandedKeySet

Version:
  • 4.2.0
Observable implementation of ExpandedKeySet that keeps track of mutation of KeySet.

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
keys Set | Array a set of keys to add to this KeySet.
Returns:
this observable KeySet.
Type
ObservableExpandedKeySet

#addAll() → {ObservableExpandedKeySet}

Updates the observable with a KeySet that has all keys.
Returns:
this observable KeySet.
Type
ObservableExpandedKeySet

#clear() → {ObservableExpandedKeySet}

Updates the observable with a KeySet that contains no keys.
Returns:
this observable KeySet.
Type
ObservableExpandedKeySet

#delete(keys) → {ObservableExpandedKeySet}

Updates the observable with a KeySet that excludes the specified keys.
Parameters:
Name Type Description
keys Set | Array a set of keys to remove from this KeySet.
Returns:
this observable KeySet.
Type
ObservableExpandedKeySet