• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 460 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0112 秒)

421. laya.ui.RadioGroup_API3.0 [ 42%]

...new Handler(this, onSelect);//设置 radioGroup 的选择项发生改变时执行的处理器。 Laya.stage.addChild(radioGroup);//将 radioGroup 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的单选按钮索引: index= ", index); } } } example Laya.init...

来源: Laya3.0_api 发布时间: 20231115

422. UI运行时 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

...UI组件脚本的生命周期有如下方法: /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法执行一次 * 此方法为虚方法,使用时重写覆盖即可 */ onAwake(): void { } /** * 组件被启用后执行,比如节点被添加到舞台后...

来源: Laya3.0_文档 发布时间: 20251010

423. laya.ui.Tab_API3.0 [ 41%]

...dler = new Handler(this, onSelect);//设置 tab 的选择项发生改变时执行的处理器。 Laya.stage.addChild(tab);//将 tab 添到显示列表。 } private function onSelect(index:int):void { trace("当前选择的表情页索引: index= ", index); } } } example Laya.init(640, 800);//设置...

来源: Laya3.0_api 发布时间: 20231115

424. laya.ui.Dialog_API3.0 [ 41%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

来源: Laya3.0_api 发布时间: 20231115

425. laya.ui.List_API3.0 [ 41%]

...t.selectHandler = new Handler(this, onSelect);//设置 list 改变选择项执行的处理器。 Laya.stage.addChild(list);//将 list 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的项目索引: index= ", index); } } } import laya.ui.Box; import laya.u...

来源: Laya3.0_api 发布时间: 20231115

426. laya.ui.ColorPicker_API3.0 [ 41%]

...dler: Handler Defined in laya/ui/ColorPicker.ts:99 当颜色发生改变时执行的函数处理器。 默认返回参数color:颜色值字符串。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先...

来源: Laya3.0_api 发布时间: 20231115

427. laya.ui.UIGroup_API3.0 [ 41%]

...dler: Handler Defined in laya/ui/UIGroup.ts:28 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 Optional tag tag: string Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static drawtocanvCtx drawtocanvCtx: Context Inherited f...

来源: Laya3.0_api 发布时间: 20231115

428. laya.ui.HSlider_API3.0 [ 41%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

来源: Laya3.0_api 发布时间: 20231115

429. laya.ui.VSlider_API3.0 [ 41%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

来源: Laya3.0_api 发布时间: 20231115

430. laya.ui.ScrollBar_API3.0 [ 41%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

来源: Laya3.0_api 发布时间: 20231115