Class: DateFilterView

DateFilterView()

Render a view of a single DateFilter model

Constructor

new DateFilterView()

Source:

Extends

Members

model :DateFilter

A DateFilter model to be rendered in this view
Type:
Overrides:
Source:

Methods

handleChange()

Updates the view when the filter input is updated
Parameters:
Type Description
Event The DOM Event that occured on the filter view input element
Inherited From:
Source:

handleTyping()

When the user presses Enter in the input element, update the view and model
Parameters:
Type Description
Event The DOM Event that occured on the filter view input element
Inherited From:
Source:

resetSlider()

Resets the slider to the default values
Source:

updateModel()

Updates the value set on the Filter Model associated with this view. The filter value is grabbed from the input element in this view.
Inherited From:
Source:

updateYearRange(e)

Gets the min and max years from the number inputs and updates the DateFilter model and the year UI slider.
Parameters:
Name Type Description
e Event The event that triggered this callback function
Source: