Class: ChoiceFilterView

ChoiceFilterView()

Render a view of a single ChoiceFilter model

Constructor

new ChoiceFilterView()

Source:

Extends

Members

model :ChoiceFilter

A ChoiceFilter 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
Overrides:
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:

updateChoices()

Update the choices in the select dropdown menu based on which choices are currently selected
Source:

updateModel()

Updates the value set on the ChoiceFilter Model associated with this view. The filter value is grabbed from the select element in this view.
Overrides:
Source: