Cell API
Docs
GitHub
Preparing search index...
@celljs/widget
LocaleManagerImpl
Class LocaleManagerImpl
Implements
LocaleManager
Index
Constructors
constructor
Properties
current
Subject
lang
Storage
Key
locales
locales
For
Config
prioritized
Methods
get
init
Constructors
constructor
new
LocaleManagerImpl
()
:
LocaleManagerImpl
Returns
LocaleManagerImpl
Properties
current
Subject
currentSubject
:
BehaviorSubject
<
Locale
|
undefined
>
= ...
Protected
Readonly
lang
Storage
Key
langStorageKey
:
"cell:lang"
= 'cell:lang'
Protected
Readonly
locales
locales
:
Locale
[]
Protected
Readonly
locales
For
Config
localesForConfig
:
{
[
lang
:
string
]:
Locale
}
Protected
prioritized
prioritized
:
Locale
[]
Methods
get
get
()
:
Promise
<
Locale
[]
>
Returns
Promise
<
Locale
[]
>
init
init
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
current
Subject
lang
Storage
Key
locales
locales
For
Config
prioritized
Methods
get
init
Docs
GitHub
Cell API
Loading...