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

resultsChangedNotifier

Type: Notifier

Add a callback to subscribe to potential changes

Methods

getResults

Type: Function

Call to get the new results for the query

Returns

stopObservingQueryResults

Type: Function

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