ObserveQueryResults

Type: Object

The result of calling IndexManager#observeQueryResults. Provides access to the results as well as change notifications.

Note: Never edit nodes returned by a query. Always use an operation if you need to modify the DOM.

Properties

Name Type Description
resultsChangedNotifier Notifier

Add a callback to subscribe to potential changes

Methods

Name Description
getResults

Call to get the new results for the query


  Returns

Type: any

stopObservingQueryResults

Destroy this observer. Do not forget to also remove any callbacks registered on the notifier.