@coveo/headless
    Preparing search index...

    Interface FieldSuggestionsGeneratorAlpha

    The FieldSuggestionsGenerator controller is responsible for generating field suggestions controllers for a given commerce engine.

    interface FieldSuggestionsGenerator {
        fieldSuggestions: GeneratedFieldSuggestionsControllers;
        state: FieldSuggestionsFacet[];
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    The facet controllers created by the facet generator.

    The state of the field suggestions generator.