new SearchFacetRangeSliderView()
Extends
- Backbone.View
Members
events
list of events for Backbone View
Methods
(static) initialize()
Initially sets data to model and watches events on which
view should be updated
Listens to Events:
- module:searchFacetRangeSlider.SearchFacetRangeSliderView~event:change
- module:XA.component.search.vent~event:hashChanged
removeFacet()
Sets default values for Range Slider and updates hash according to them
render()
Renders view. Use jQueryUI slider with set up from searchFacetRangeSlider
properties
updateModel(hash)
Updates model based on hash parameters
Parameters:
Name | Type | Description |
---|---|---|
hash |
Object | Object that contains hash parameters |
updateSelectedValue(facetMinValue, facetMaxValue)
Updates slider text values text
Parameters:
Name | Type | Description |
---|---|---|
facetMinValue |
String | Minimal value of facet |
facetMaxValue |
String | Maximal value of facet |
updateSelectedValue()
Updates selected text values