大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0013 秒)
...Enable = 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) { data.push("res/ui/listskins/1.jpg"); data.push("res/...
来源: Laya2.0_示例 发布时间: 20241118
...自定义list渲染方式,可以打开下面注释看一下效果 //list.renderHandler = new Handler(this, onListRender); } private onListRender(item: Laya.Box, index: number): void { //自定义list的渲染方式 var label: Label = item.getChildByName("label") as Label; if (index % 2) { label.co...
来源: Laya2.0_示例 发布时间: 20200319
...r(this, this.onEaseFunctionChange, [easeFunctionsList]); easeFunctionsList.renderHandler = new Handler(this, this.renderList); Laya.stage.addChild(easeFunctionsList); let data = []; data.push('backIn', 'backOut', 'backInOut'); data.push('bounceIn', 'bounceOut', 'bounceInOut'); data.push('circIn', 'c...
来源: Laya2.0_示例 发布时间: 20241118