LanguageSelectorView Class
Defined in:
_views\LanguageSelectorView.js:1
Create language selector comp
Constructor
LanguageSelectorView
()
Object
Returns:
Object:
instantiated LanguageSelectorView
Item Index
Methods
_cleanTags
(
String
-
i_language
Clean up non compliant language characters
Parameters:
-
i_language
String
Returns:
String:
language code
_loadLang
()
Load language
_render
()
Render the DOM within instance view for language selection
getLanguage
()
Object
Get the currently selected language
Returns:
Object:
return 2 letter language selection
initialize
()
Init the ChannelList component and enable sortable channels UI via drag and drop operations.
setLanguage
(
-
i_language
Set specified language and reload the application to apply selection
Parameters:
-
i_language
String