HasValuesListener
The HasValuesListener type describes a function that is used to listen to Values as a whole being added to or removed from the Store.
(
store: Store,
hasValues: boolean,
): void| Type | Description | |
|---|---|---|
store | Store | A reference to the |
hasValues | boolean | Whether |
| returns | void | This has no return value. |
A HasValuesListener is provided when using the addHasValuesListener method. See that method for specific examples.
When called, a HasValuesListener is given a reference to the Store. It is also given a flag to indicate whether Values now exist (having not done previously), or do not (having done so previously).
Since
v4.4.0