APIs

Show:

Create language selector comp

Constructor

LanguageSelectorView

() Object

Returns:

Object:

instantiated LanguageSelectorView

Methods

_cleanTags

(
  • i_language
)
String

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