new FacetResultsFilterView()
Extends
- Backbone.View
Members
events
list of events for Backbone View
Methods
handleThreshold(highlightThreshold)
Manages search result filter highlight of threshold
Parameters:
Name | Type | Description |
---|---|---|
highlightThreshold |
Number | value of threshold highlight |
initialize()
Initially sets data to model and watches events on which
view should be updated
Listens to Events:
- module:facetResultsFilter.FacetResultsFilterModel~event:change
removeFacet(evt)
Sets default values for Search Result Filter and updates hash accordingly
Parameters:
Name | Type | Description |
---|---|---|
evt |
Event | Event object |
render()
Renders view
setActiveFacet(facetGroupName, facetValueName)
Manages search result filter active state
Parameters:
Name | Type | Description |
---|---|---|
facetGroupName |
String | facet name |
facetValueName |
String | facet value |
updateFacet(param)
Updates model 'facetArray' based on params
Parameters:
Name | Type | Description |
---|---|---|
param |
Event | Event object with current target |