FacetDateRangeView

facetDateRange. FacetDateRangeView

new FacetDateRangeView()

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:facetDateRange.FacetDateRangeView~event:change
  • module:XA.component.search.vent~event:hashChanged

clearFilter(param)

Source:
Clears selected filter in component
Parameters:
Name Type Description
param Object

handleDate(control, value)

Source:
Updates datepicker date
Parameters:
Name Type Description
control jQuery.<DomElement> element where start date specified
value String date that should be set

render()

Source:
Renders view. Use jquery ui datepicker

updateComponent(hash)

Source:
Updates component after changes in hash
Parameters:
Name Type Description
hash Object object that stores hash values

updateFacet()

Source:
Updates hash by calling "updateHash"