Interface FacetConditionsManagerProps

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

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.