appbaseio / appbaseio/reactivesearch

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

Offen
#174 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement idea :thinking:
Vorherrschende Sprache
JavaScript
Sterne
4.9k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.