LocationFacetActions
LocationFacetActions
This is for:
DeveloperIn this article
The location facet action creators.
See Dispatch Actions.
Loader Function
loadLocationFacetActions
Loads the commerce facet set reducer and returns the available location facet action creators.
Parameters
-
engine:
CommerceEngine
The commerce engine.
Returns LocationFacetActionCreators
: The location facet action creators.
LocationFacetActionCreators
toggleExcludeLocationFacetValue
Toggles the exclusion of a given location facet value.
Parameters
-
payload:
ToggleSelectFacetValueActionCreatorPayload
The action creator payload.
Returns PayloadAction<ToggleExcludeFacetValuePayload>
: A dispatchable action.
toggleSelectLocationFacetValue
Toggles the selection of a given location facet value.
Parameters
-
payload:
ToggleSelectFacetValueActionCreatorPayload
The action creator payload.
Returns PayloadAction<ToggleSelectFacetValuePayload>
: A dispatchable action.