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

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

31. laya.ui.Tree [ 64%]

...开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 Tree destroyed : Boolean = false...

来源: Laya2.0_api 发布时间: 20190513

32. 在界面加载出来以后 想给 每个List item 话格子 有没有 初始化函数 ? [ 63%]

...是通过数据驱动的,一个是array的数据驱动,另一个就是dataSource的数据驱动! 2017-02-14 0 3 分享 微博 QZONE 微信 hfeiop12 赞同来自: 那怎么通过 数据驱动 画格子呢 ? 2017-02-14 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...

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

33. laya.ui.List_API3.0 [ 63%]

...bottom cacheAs cells centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBarSkin height hideFlags hitArea is3D itemRender ...

来源: Laya3.0_api 发布时间: 20231115

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

...; } 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

35. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 60%]

...ull, onLoaded)); }*/  function updateItem(cell, index) { cell.setImg(cell.dataSource); }  function onLoaded(): void {      var rankList = new Laya.List();      //rankList.scrollBar.elasticBackTime = 200;    //rankList.scrollBar.elasticBackTime = 200;//设置橡皮筋回弹时间。单...

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

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

...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

37. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 59%]

...ist.array = data; }   function updateItem(cell, index) { cell.setImg(cell.dataSource); }   function onSelect(index) { console.log("当前选择的索引:" + index); } })(); 2018-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

38. List翻页效果 [ 59%]

...rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.lang] } public setCurPage(ind...

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

39. List翻页效果怎么实现 [ 58%]

...rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.lang] } public setCurPage(ind...

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

40. 【LIST无法拖动】参照官方实例做的 [ 58%]

...rivate updateItem(cell: Item): void {         cell.setImg(cell.dataSource);      }     private onSelect(index: number): void {         console.log("当前选择的索引:" + index);         console.log("目的是哪一关" + this.box_arr[index]);    ...

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