new GraphicalSelectView()
modules/snippets/graphicalSelect/view.js, line 16
Extends
Methods
-
createDrawInteraction(evt){void}
modules/snippets/graphicalSelect/view.js, line 62 -
Creates draw interaction.
Name Type Description evt
* contains the selection of the dropdown -
initDropdown(){void}
modules/snippets/graphicalSelect/view.js, line 53 -
Inits the dropdown list.
- See:
-
removeView(){void}
modules/snippets/graphicalSelect/view.js, line 79 -
Calls the function "setIsOpen" in the model with parameter false removes this view and its el from the DOM and resets the draw interaction.
-
render(){Object}
modules/snippets/graphicalSelect/view.js, line 36 -
Renders the view depending on the isOpen attribute.
Returns:
this