大约有 36 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0026 秒)
...rollBarSkin = ''; easeFunctionsList.selectEnable = true; easeFunctionsList.selectHandler = new Handler(this, this.onEaseFunctionChange, [easeFunctionsList]); easeFunctionsList.renderHandler = new Handler(this, this.renderList); Laya.stage.addChild(easeFunctionsList); let data = []; data.push('backIn...
来源: Laya2.0_示例 发布时间: 20251209
...rollBarSkin = ''; easeFunctionsList.selectEnable = true; easeFunctionsList.selectHandler = new Handler(this, onEaseFunctionChange, [easeFunctionsList]); easeFunctionsList.renderHandler = new Handler(this, renderList); Laya.stage.addChild(easeFunctionsList); var data = []; data.push('backIn', 'backOu...
来源: Laya_示例 发布时间: 20251209
...行的处理器,(默认返回参数: 项索引(index:number))。*/ selectHandler: Handler; /**单元格渲染处理器(默认返回参数cell:Box,index:number)。*/ renderHandler: Handler; /**单元格鼠标事件处理器(默认返回参数e:Event,index:number)。*/ mouseHandler: Handler; /...
来源: Laya_社区 发布时间: 20180801
关于下拉列表的选择触发 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
...new Handler(this, onSelect) list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); return list; } function updateItem(cell, index) { console.log(index); // console.log(cell.da...
来源: Laya_社区 发布时间: 20180724
...值 this.sList.selectEnable = true;//列表项是否可选 // this.sList.selectHandler = Laya.Handler.create(this,this.onSelect,null,false); this.sList.mouseHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerLi...
来源: Laya_社区 发布时间: 20170805
监听选择list项会一直触发 v1.7.5this.avatarList.selectHandler = Handler.create(this, this.onSelect, null, false); onSelect(index: number) { console.log("一直触发"); } 2017-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20170515
...ht = 810;// this.publicSpaceList.vScrollBarSkin = ""; this.publicSpaceList.selectHandler = new Laya.Handler(this, this.onListSelect); this.publicSpaceList.renderHandler = new Laya.Handler(this, this.updateListItem); this.publicSpaceList.array = ; this.addChild( this.publicSpaceList ); public setPubl...
来源: Laya_社区 发布时间: 20170923
...不会生效。 请问:为什么会出现这种情况。list里面原有selectHandler的事件的,这个事件则有效,鼠标点击事件则无效 2018-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 L...
来源: Laya_社区 发布时间: 20180509
...源加载用Handler.create()? 我测试了一下,如果类似于 tab.selectHandler = Laya.Handler.create(tab, this.onSelect); 这种的,如果用create则只能触发一下,如果用new Handler则正常触发? 2017-08-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20170818