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

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

11. ui list 里面的元素不能点击两次 [ 81%]

ui list 里面的元素不能点击两次 你好,咱们list list.selectHandler = new Handler(this, onSelect); 只能获取一次点击事件么? 如何修改才能让list里面的元素 可以被连续点击?  附件 : --> 2016-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20161202

12. 如何给Tab里的button设置点击事件? [ 78%]

... 提交 1 个回复 cuixueying 赞同来自: Y_Yao 直接为你的tab添加selectHandler或者mouseHandler即可! 2017-05-16 1 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Y_Yao 相关问题 Dialog:屏蔽点...

来源: Laya_社区 发布时间: 20170516

13. 关于下拉列表的选择触发 [ 77%]

关于下拉列表的选择触发 this.small_map.selectHandler = new Laya.Handler(this, onSelect_small); this.big_map.selectHandler = new Laya.Handler(this, onSelect_big); function onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map....

来源: Laya_社区 发布时间: 20180719

14. UI-List [ 74%]

...隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, this.onSelect); list.renderHandler = new Handler(this, this.updateItem); // 设置数据项为对应图片的路径 let data = []; for (let i = 0; i = []; for (var i: number = 0; i < 10; ++i) {...

来源: Laya2.0_示例 发布时间: 20251209

15. UI-List [ 74%]

...隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stage.addChild(list); // 设置数据项为对应图片的路径 var data = []; for (var i = 0; i = []; for (var i: number = ...

来源: Laya_示例 发布时间: 20251209

16. radioGroup设置labels后,每个radio的icon皮肤无法显示了 [ 72%]

...og.radioGroup_question.labelColors = "#ffffff"; dialog.radioGroup_question.selectHandler = new Handler(this, onRadioSelect)   附件 : --> 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞...

来源: Laya_社区 发布时间: 20180718

17. 关于list空间的问题 [ 68%]

...ns/2.jpg"); } this._ui.serverList.vScrollBarSkin = ""; this._ui.serverList.selectHandler = new Handler(this, this.onSelect); this._ui.serverList.renderHandler = new Handler(this, this.onUpdateItem); //this._ui.serverList.array = this._loadData.list; this._ui.serverList.array = data;   附件 : --> ...

来源: Laya_社区 发布时间: 20170924

18. list的render复用问题 [ 66%]

...4个render为item0,1,2,3,往下拖第五个item也叫item0, 通过list.selectHandler = new Laya.Handler(this, this._OnSelect); function _OnSelect(){ //选中的render上加个选中框, var selection = this.visualizeList.selection;         selection.addChild(this.m_CenterDiv.imgSelect)...

来源: Laya_社区 发布时间: 20171101

19. 对象的监听事件 [ 65%]

...不会生效。 请问:为什么会出现这种情况。list里面原有selectHandler的事件的,这个事件则有效,鼠标点击事件则无效 2018-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 L...

来源: Laya_社区 发布时间: 20180509

20. list方法onSelect失效 [ 65%]

...mgList.renderHandler = new Laya.Handler(this, this.onRender); this.imgList.selectHandler = new Laya.Handler(this, this.onSelect); } onSelect(index) { this.reqImage.skin = listArr[index].img.skin; if (defaultImgs[this.reqImage.skin]) { this.reqImage["guid"] = defaultImgs[this.reqImage.skin]; } this.i...

来源: Laya_社区 发布时间: 20190318