Class: FilterView

FilterView()

Render a view of a single FilterModel

Constructor

new FilterView()

Source:

Extends

  • Backbone.View

Members

model :Filter

A Filter model to be rendered in this view
Type:
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
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
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.
Source: