@coveo/headless
    Preparing search index...

    Interface FacetConditionsManagerProps

    interface FacetConditionsManagerProps {
        conditions: AnyFacetValuesCondition<AnyFacetValueRequest>[];
        facetId: string;
    }
    Index

    Properties

    Properties

    The conditions to evaluate.

    • If any of these conditions is met, the dependent facet is enabled.
    • If none of these conditions is met, the dependent facet is disabled.
    facetId: string

    The facetId of the facet to enable or disable depending on whether conditions are met.