appbaseio / appbaseio/reactivesearch

Support onData(..) prop to also receive # of aggregation terms

Aperta
#174 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement idea :thinking:
Lingua principale
JavaScript
Stelle
4.9k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Issue Type:**

Enhancement / Idea

**Description:**

Add a extra arg in the `onData(..)` method of components that either perform aggregation or receive hits for `resultStats`.

This can enable the user to customize component's display behavior: For instance, if results found are below a threshold - hide the component from the view, or decide to not update the previous component's view and make the values un-selectable.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.