new GraphicalSelect()
modules/snippets/dropdown/model.js, line 24
creates a dropdown
Properties:
Name | Type | Default | Description |
---|---|---|---|
isOpen |
Boolean | false | dropdown is open or closed |
values |
Boolean | [ | init dropdown values |
preselectedValues |
Boolean | [ | preselected values |
numOfOptions |
Boolean | 10 | number of entries displayed |
isMultiple |
Boolean | true | dropdown multiple |
Extends
Methods
-
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
-
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
-
inherited hasSelectedValues(){boolean}
modules/snippets/model.js, line 58 -
Returns true if any of the value models is selected
-
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 -
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