SearchFacetRangeSliderView

searchFacetRangeSlider. SearchFacetRangeSliderView

new SearchFacetRangeSliderView()

Source:

Extends

  • Backbone.View

Members

events

Source:
list of events for Backbone View

Methods

(static) initialize()

Source:
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()

Source:
Sets default values for Range Slider and updates hash according to them

render()

Source:
Renders view. Use jQueryUI slider with set up from searchFacetRangeSlider properties

updateModel(hash)

Source:
Updates model based on hash parameters
Parameters:
Name Type Description
hash Object Object that contains hash parameters

updateSelectedValue(facetMinValue, facetMaxValue)

Source:
Updates slider text values text
Parameters:
Name Type Description
facetMinValue String Minimal value of facet
facetMaxValue String Maximal value of facet

updateSelectedValue()

Source:
Updates selected text values