-
addValueModels(min, max){void}
modules/snippets/slider/model.js, line 63
-
Add minValueModel and maxValueModel to valuesCollection
Name |
Type |
Description |
min |
number
|
min |
max |
number
|
max |
-
changeValuesByText(minValue, maxValue){void}
modules/snippets/slider/model.js, line 158
-
Change the values by input from inputfields. Render change if enter is pressed
Name |
Type |
Description |
minValue |
number
|
input value min |
maxValue |
number
|
input value max |
Fires:
- Util#event:RadioRequestUtilSort
-
checkAreAllValuesInRange(values, min, max){boolean}
modules/snippets/slider/model.js, line 267
-
Checks whether all values lies within a specified range.
Name |
Type |
Default |
Description |
values |
Array.<number>
|
[]
|
optional
Values to be checked. |
min |
number
|
0
|
optional
Min value in range. |
max |
number
|
99999
|
optional
Max value in range. |
Returns:
- Are all values in range.
-
modules/snippets/slider/model.js, line 218
-
Check if value is valid parameter or set value to initValue
Name |
Type |
Description |
value |
number
|
input value |
otherValue |
number
|
value that be set if param value NaN |
-
inherited
checkSnippetInfos(snippetInfos, name){void}
modules/snippets/model.js, line 40
-
Checks if info text is available and sets it
Name |
Type |
Description |
snippetInfos |
object
|
[description] |
name |
string
|
[description] |
-
inherited
deselectValueModels(){void}
modules/snippets/model.js, line 68
-
Deselects all value models in the values collection
-
errorMessage(){void}
modules/snippets/slider/model.js, line 234
-
Returns an error message for invalid inputs
Listens to Events:
-
inherited
extentBaseModel(obj){object}
modules/snippets/model.js, line 79
-
Extent Object with new ValueModel
Name |
Type |
Description |
obj |
object
|
Object to be extended |
Returns:
extended Object
-
getSelectedValues(){object}
modules/snippets/slider/model.js, line 123
-
Returns an object with the slider name and its values
Returns:
contains the selected values
-
getValueText(value){string}
modules/snippets/slider/model.js, line 248
-
Returns a parsed string of the given value according to the slider type.
Only used with editableValueBox=true.
Name |
Type |
Description |
value |
number
|
Value to be parsed |
Returns:
Beautified text of the value according to it's type.
-
inherited
hasSelectedValues(){boolean}
modules/snippets/model.js, line 58
-
Returns true if any of the value models is selected
-
parseValues(valueList){Array.<number>}
modules/snippets/slider/model.js, line 136
-
Parse strings into numbers if necessary
Name |
Type |
Default |
Description |
valueList |
Array.<string>
|
[]
|
optional
valueList |
-
parseValueToNumber(inputValue, type){void}
modules/snippets/slider/model.js, line 196
-
Converts number to integer or decimal by type.
Name |
Type |
Description |
inputValue |
number
|
input value |
type |
String
|
input type |
-
inherited
removeView(){void}
modules/snippets/model.js, line 50
-
Trigger removeView
-
inherited
setAttr(value){void}
modules/snippets/model.js, line 116
-
Setter for attr
Name |
Type |
Description |
value |
string
|
attr |
-
setDefaultWidth(value){void}
modules/snippets/slider/model.js, line 284
-
Setter for defaultWidth.
Name |
Type |
Description |
value |
number
|
The default width. |
-
inherited
setDisplayName(value){void}
modules/snippets/model.js, line 144
-
Setter for displayName
Name |
Type |
Description |
value |
string
|
displayName |
-
inherited
setId(value){void}
modules/snippets/model.js, line 98
-
Setter for id
Name |
Type |
Description |
value |
string
|
id |
-
inherited
setName(value){void}
modules/snippets/model.js, line 107
-
Setter for name
Name |
Type |
Description |
value |
string
|
name |
-
inherited
setPreselectedValues(value){void}
modules/snippets/model.js, line 126
-
Setter for preselectedValues
Name |
Type |
Description |
value |
string
|
preselectedValues |
-
inherited
setType(value){void}
modules/snippets/model.js, line 135
-
Setter for type
Name |
Type |
Description |
value |
string
|
type |
-
inherited
setValues(value){void}
modules/snippets/model.js, line 162
-
Setter for values
Name |
Type |
Description |
value |
string
|
values |
-
inherited
setValuesCollection(value){void}
modules/snippets/model.js, line 153
-
Setter for valuesCollection
Name |
Type |
Description |
value |
string
|
valuesCollection |
-
inherited
superInitialize(){void}
modules/snippets/model.js, line 26
-
Initialize after Child-Initialize
-
inherited
triggerValuesChanged(model, value){void}
modules/snippets/model.js, line 89
-
Trigger valuesChanged to children
Name |
Type |
Description |
model |
object
|
Model to be transmitted |
value |
string
|
Value to be transmitted |
-
updateValues(snippetValues){void}
modules/snippets/slider/model.js, line 88
-
Update the internal valuesCollection and triggers event to adjust the DOM element
triggers also the valueChanged event on snippetCollection in queryModel
Name |
Type |
Description |
snippetValues |
number
|
array
|
depending on slider type |
-
updateValuesSilently(snippetValues){void}
modules/snippets/slider/model.js, line 106
-
Update the internal valuesCollection silently and triggers event to adjust the DOM element
Name |
Type |
Description |
snippetValues |
number
|
array
|
depending on slider type |