Preparing search index...
The search index is not available
Documentation
Documentation
modules/i18n/PLVLanguageManager
PLVLanguageManager
Class PLVLanguageManager
语言管理器
Hierarchy (
view full
)
PLVBaseModule
PLVLanguageManager
Index
Constructors
constructor
Properties
channel
Data
Methods
change
ToEN
change
ToZH
init
Page
Language
isEN
isZH
Constructors
constructor
new PLVLanguage
Manager
(
channelData
)
:
PLVLanguageManager
Parameters
channelData
:
PLVChannelData
Returns
PLVLanguageManager
Properties
channel
Data
channel
Data
:
PLVChannelData
频道数据
Methods
change
ToEN
change
ToEN
(
)
:
void
切换页面语言为英文
Returns
void
change
ToZH
change
ToZH
(
)
:
void
切换页面语言为中文
Returns
void
init
Page
Language
init
Page
Language
(
)
:
Promise
<
void
>
初始化页面语言
Returns
Promise
<
void
>
isEN
isEN
(
)
:
boolean
页面语言是否为英文
Returns
boolean
isZH
isZH
(
)
:
boolean
页面语言是否为中文
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
channel
Data
Methods
change
ToEN
change
ToZH
init
Page
Language
isEN
isZH
Documentation
Loading...
语言管理器