new FacetDateRangeView()
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:facetDateRange.FacetDateRangeView~event:change
- module:XA.component.search.vent~event:hashChanged
clearFilter(param)
Clears selected filter in component
Parameters:
Name | Type | Description |
---|---|---|
param |
Object |
handleDate(control, value)
Updates datepicker date
Parameters:
Name | Type | Description |
---|---|---|
control |
jQuery.<DomElement> | element where start date specified |
value |
String | date that should be set |
render()
Renders view. Use jquery ui datepicker
updateComponent(hash)
Updates component after changes in hash
Parameters:
Name | Type | Description |
---|---|---|
hash |
Object | object that stores hash values |
updateFacet()
Updates hash by calling "updateHash"