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

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

21. dialog里面的内容怎么不能添加到舞台 [ 73%]

...++++++++++++++') console.log(_super); console.log(fooddata); self.foodList.dataSource = fooddata; console.log(self.foodList.dataSource); console.log(self.foodList._array[0].food); //实例化角色容器 var foodBox = new Laya.Sprite(); //添加到舞台上 console.log(self.foodBox); Laya.stage.addC...

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

22. 如何为list内部的button添加事件 [ 71%]

...ist.getItem(xxx).getChildByName()无效,获取不到,我发现只要是DataSource里面没有定义的参数用list.getItem(xxx)都获取不到,list.getItem(xxx)就是list.datasource[xxx]吧? weiyongwill • 2017-01-06 11:21 "this.sList.getItem(...).getChildByName is not a function&quot...

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

23. IDE-显示IDE创建的界面 [ 70%]

...个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}}; //list赋值,先获得一个数据源数组 var arr = []; for (var i = 0; i /// import test =...

来源: Laya_示例 发布时间: 20241117

24. IDE-显示IDE创建的界面 [ 70%]

...个属性,比如:label:{color:"#ff0000",text:"Hello LayaAir"} this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}}; //list赋值,先获得一个数据源数组 var arr = []; for (var i = 0; i /// import test =...

来源: Laya2.0_示例 发布时间: 20200319

25. laya.ui.ScaleBox_API3.0 [ 68%]

...lor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numC...

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

26. list 加载动画为什么实现的效果会错乱掉? [ 68%]

...ist.array = effList; } function updateItem(cell, index) { console.log(cell.dataSource); cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); }     我想实现的效果是   设置每个特效宽高都为80 * 80   然后一排显示3个 界...

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

27. laya.ui.Panel_API3.0 [ 68%]

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

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

28. laya.ui.LayoutBox_API3.0 [ 68%]

...lor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numC...

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

29. laya.ui.HBox_API3.0 [ 68%]

...lor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numC...

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

30. laya.ui.WXOpenDataViewer_API3.0 [ 68%]

...orY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numC...

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