Class: NumericFilterView

NumericFilterView()

Render a view of a single NumericFilter model

Constructor

new NumericFilterView()

Source:

Extends

Members

model :NumericFilter

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

showButton :boolean

For single input (non-range) models, whether or not to show the search button
Type:
  • boolean
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, and then set on either the min, max, or value attribute, depending on the single value type.
Overrides:
Source:

updateRange(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: