Improve this doc View source

facetUrlStateHandlerService
service in module seco.facetedSearch

Description

facetUrlStateHandlerService

Service for updating the URL parameters based on facet selections, and retrieving the facet values from URL parameters.

Intended for bookmarking the current facet selections. FacetHandler can take the return value of getFacetValuesFromUrlParams as the initialState configuration value.

Updating the URL parameters can be done, e.g., when the facet states have been received while listening for facet updates. See FacetHandler for details regarding events.

Methods