FacetResultsFilterView

facetResultsFilter. FacetResultsFilterView

new FacetResultsFilterView()

Source:

Extends

  • Backbone.View

Members

events

Source:
list of events for Backbone View

Methods

handleThreshold(highlightThreshold)

Source:
Manages search result filter highlight of threshold
Parameters:
Name Type Description
highlightThreshold Number value of threshold highlight

initialize()

Source:
Initially sets data to model and watches events on which view should be updated
Listens to Events:
  • module:facetResultsFilter.FacetResultsFilterModel~event:change

removeFacet(evt)

Source:
Sets default values for Search Result Filter and updates hash accordingly
Parameters:
Name Type Description
evt Event Event object

render()

Source:
Renders view

setActiveFacet(facetGroupName, facetValueName)

Source:
Manages search result filter active state
Parameters:
Name Type Description
facetGroupName String facet name
facetValueName String facet value

updateFacet(param)

Source:
Updates model 'facetArray' based on params
Parameters:
Name Type Description
param Event Event object with current target