Extends
Members
model :ToggleFilter
A ToggleFilter 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:
postRender()
Actions to perform after the render() function has completed and this view's
element is added to the webpage.
setToggleWidth()
Gets the width of the toggle labels and sets the various CSS attributes
necessary for the switch to fully display each label
updateModel()
Updates the value set on the ToggleFilter Model associated with this view.
The filter value is grabbed from the checkbox element in this view.
- Overrides:
- Source: