Class: CheckboxSnippet

CheckboxSnippet

CheckboxSnippet

new CheckboxSnippet()

modules/snippets/checkbox/model.js, line 27
Properties:
Name Type Default Description
size String "small", size of the toggle. possible values: large, normal, small, mini
textOn String "", filled with "An"- translated / text of the on toggle
textOff String "", filled with "Aus"- translated / text of the off toggle
Fires:
Listens to Events:

Extends

Methods

changeLang(lng){Void}

modules/snippets/checkbox/model.js, line 46
change language - sets default values for the language
Name Type Description
lng String the language changed to

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