大约有 62 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0034 秒)
Laya_社区(48) Laya2.0_文档(3) Laya_示例(2) laya_api(2) Laya3.0_api(2) Laya2.0_示例(2) Laya2.0_api(2) Laya3.0_文档(1)
...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
...g 赞同来自: 好友列表建议你用list来做,list有mouseHandler和selectHandler,可以直接回调你点击每一条Item的信息! 2017-07-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 18336093936 相关问题 Dialog:...
来源: Laya_社区 发布时间: 20170703
...皮筋极限距离。 this.gradeList.selectEnable = true; this.gradeList.selectHandler = new Laya.Handler(this, this.onSelect) this.gradeList.renderHandler = new Laya.Handler(this, this.updateItem) } 2019-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20190515
...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
...: 3 人 cuixueying • 2017-01-05 22:10 你可以在renderHandler下或者selectHandler下,通过返回值index索引,去为你的button添加点击事件即可,不需要遍历。 weiyongwill • 2017-01-06 10:56 多谢指点。list.getItem(xxx).getChildByName()无效,获取不到,我发...
来源: Laya_社区 发布时间: 20170105
...不会生效。 请问:为什么会出现这种情况。list里面原有selectHandler的事件的,这个事件则有效,鼠标点击事件则无效 2018-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 L...
来源: Laya_社区 发布时间: 20180509
...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
...enderHandler = new Handler(this, this.updateListItem); list.selectHandler = new Handler(this, this.onSelect); this.addChild(list); list.array = data; } updateListItem(cell: BagItem, index: number):void{ cons...
来源: Laya_社区 发布时间: 20170310
...dIndex值和对选中状态的显示和隐藏,派发change事件,调用selectHandler。 为什么要对List重新渲染。如果我的list里的子项内容修改了,但是selectedIndex重新渲染List,那么修改过的子项不是就变回最初的内容。那不就是不对了。 而且...
来源: Laya_社区 发布时间: 20171018
...隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stage.addChild(list); list.array = effList; } function updateItem(cell, index) { console.log(cell.dataSource); cell.setImg(ce...
来源: Laya_社区 发布时间: 20170627