Class: DropdownView

Snippets.Dropdown DropdownView

DropdownView
modules/snippets/dropdown/view.js, line 16

Extends

Methods

initDropdown(){void}

modules/snippets/dropdown/view.js, line 66
inits the dropdown list
See:

markSelectedValues(){void}

modules/snippets/dropdown/view.js, line 78
marks the selected value(s) in the dropdown list

removeView(){void}

modules/snippets/dropdown/view.js, line 132
calls the function "setIsOpen" in the model with parameter false removes this view and its el from the DOM

render(){Object}

modules/snippets/dropdown/view.js, line 42
renders the view depending on the isOpen attribute
Returns:
this

setIsOpen(evt){void}

modules/snippets/dropdown/view.js, line 102
calls the function "setIsOpen" in the model depending on the event type
Name Type Description
evt Event hidden || shown

updateSelectedValues(evt){void}

modules/snippets/dropdown/view.js, line 93
calls the function "updateSelectedValues" in the model
Name Type Description
evt Event changed