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

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

31. 列表组件 · LayaAir3.0文档 · LAYABOX [ 58%]

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

来源: Laya3.0_文档 发布时间: 20230927

32. laya.ui.List_API3.0 [ 58%]

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

33. laya.ui.ScaleBox_API3.0 [ 57%]

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

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

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

35. laya.ui.Panel_API3.0 [ 57%]

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

36. laya.ui.LayoutBox_API3.0 [ 57%]

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

37. 怎么设置了label的text属性,没有生效啊? [ 57%]

...0 分享 微博 QZONE 微信 youxin 赞同来自:         this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}};                  this.TestLablel.text = "测试测试"; 官网提供,默认de...

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

38. laya.ui.HBox_API3.0 [ 55%]

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

39. laya.ui.Box [ 55%]

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

来源: laya_api 发布时间: 20170929

40. laya.ui.VBox_API3.0 [ 55%]

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