Class: node
Class: node
language.node
多语言节点
Hierarchy
↳
node
Table of contents
Properties
Accessors
Methods
Properties
language_s
• language_s: "zh_cn"
| "en_us"
= global_config.language.default_type_s
语言
Defined in
assets/@framework/language/component/mk_language_node.ts:53
node_as
• node_as: node
[] = []
语言节点列表
Defined in
assets/@framework/language/component/mk_language_node.ts:100
layout_adaptation_b
• layout_adaptation_b: boolean
= false
layout 适配
Defined in
assets/@framework/language/component/mk_language_node.ts:107
_use_layer_b
• Protected
_use_layer_b: boolean
= false
Overrides
mk_life_cycle._use_layer_b
Defined in
assets/@framework/language/component/mk_language_node.ts:116
Accessors
language
• get
language(): number
语言
Returns
number
Defined in
assets/@framework/language/component/mk_language_node.ts:60
• set
language(value_n_
): void
Parameters
Name | Type |
---|---|
value_n_ | number |
Returns
void
Defined in
assets/@framework/language/component/mk_language_node.ts:64
current_node
• get
current_node(): null
| Node
当前语言节点
Returns
null
| Node
Defined in
assets/@framework/language/component/mk_language_node.ts:111
Methods
create
▸ Protected
create(): void
| Promise
<void
>
创建
Returns
void
| Promise
<void
>
Remarks
可在此处初始化视图状态
静态模块:onLoad 时调用
动态模块:addChild 后调用
Overrides
Defined in
assets/@framework/language/component/mk_language_node.ts:121
open
▸ Protected
open(): void
| Promise
<void
>
打开
Returns
void
| Promise
<void
>
Remarks
init 后执行,在此处执行无需 init_data 支持的模块初始化操作
Overrides
Defined in
assets/@framework/language/component/mk_language_node.ts:125