Class: SliderView

Snippets.Slider SliderView

SliderView

new SliderView()

modules/snippets/slider/view.js, line 16

Extends

Methods

changeSizeOfInputFiled(className, value){void}

modules/snippets/slider/view.js, line 158
change size from input field
Name Type Description
className String class from input field
value String value from input field

checkValuesAreValid(value){void}

modules/snippets/slider/view.js, line 203
Checks if the input value is valid. If not, an error message is displayed.
Name Type Description
value Array.<number> Input Values.

chooseInputFiled(className){String}

modules/snippets/slider/view.js, line 171
Check which input field is used.
Name Type Description
className String Classes from input field.

initialize(){void}

modules/snippets/slider/view.js, line 34
Setting listener

initSlider(){void}

modules/snippets/slider/view.js, line 60
init the slider

render(){this}

modules/snippets/slider/view.js, line 47
render methode

saveNewValue(evt){void}

modules/snippets/slider/view.js, line 103
Save data to model
Name Type Description
evt Event slide

setInputControlValue(evt){void}

modules/snippets/slider/view.js, line 85
Sets the slider value to the DOM elements according to editableValueBox.
Name Type Description
evt Event slide

setInputMinAndMaxValue(values){void}

modules/snippets/slider/view.js, line 112
set the input values
Name Type Description
values Array.<number> contains minimum and maximum

setValues(event){void}

modules/snippets/slider/view.js, line 141
Check which key is up.
Name Type Description
event event Key up or focusout.

toggleInfoText(){void}

modules/snippets/slider/view.js, line 121
toggle the info text

updateDOMSlider(value){void}

modules/snippets/slider/view.js, line 189
Sets the slider value after the external model change.
Name Type Description
value Array.<number> Input Values.