Class: LanguageModel

LanguageModel

LanguageModel

new LanguageModel()

modules/language/model.js, line 25
Properties:
Name Type Default Description
languageCodes Object {}, all available langiages as codes
activeCode String "", actual used language as code
overlay Overlay new Overlay({ element: null }) render this in an overlay for not bubbling down click-events
closeButton String "", filled with "Schliessen"- translated
languageTitle String "", filled with "Bitte wählen Sie eine Sprache aus"- translated

Extends

Methods

changeLang(activeCode){Void}

modules/language/model.js, line 43
change language - sets default values for the language
Name Type Description
activeCode String the language changed to

setOverlayElement(value){void}

modules/language/model.js, line 63
Setter function for overlay element
Name Type Description
value Object the element