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

大约有 3 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0021 秒)

1. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 100%]

...} list.array = data; } function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); } })(); ```

来源: Laya2.0_文档 发布时间: 20210714

2. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 99%]

...; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public st...

来源: Laya2.0_文档 发布时间: 20210715

3. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 88%]

...x:int):void { //用获得的数据给图片更换皮肤 cell.img.skin=cell.dataSource; } /***选择单元格回调***/ private function onSelect(index:int):void { trace("当前选择的索引:" + index); } } } //单元格类,继承于Box import laya.ui.Box; import laya.ui.Image; class Item exten...

来源: Laya2.0_文档 发布时间: 20210715