大约有 74 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0067 秒)
Laya_社区(50) laya_api(4) Laya2.0_api(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_文档(3) Laya_示例(3) Laya3.0_文档(2)
...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
...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 itemRender keepStatus left list mask mous...
来源: Laya3.0_api 发布时间: 20231115
...性)。 另外:我在官方文档中注意到Component组件有一个dataSource属性,类型为*,但未在文档任何地方发现关于这个属性的使用例子,见附件图片 2016-08-18 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20160818
...; } 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_文档 发布时间: 20251010
...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
...开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 Tree destroyed : Boolean[只读]...
来源: laya_api 发布时间: 20170929
...开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 Tree destroyed : Boolean = false...
来源: Laya2.0_api 发布时间: 20190513
...lText.pos(0, 0); this.delText.width = 130; this.delText.height = 80; } get dataSource(){ return super.dataSource; } set dataSource(value) { super.dataSource = value; if (!value) return; this.LmsgTime.changeText(value.msgTime.text); this.LmsgTitle.changeText(value.msgTitle.text); this.redHot.visible ...
来源: Laya2.0_示例 发布时间: 20251130
...开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 ComboBox destroyed : Boolean[只...
来源: laya_api 发布时间: 20170929
...开启自定义渲染,才能使用customRender函数渲染。 Sprite dataSource : *[override] 数据赋值,通过对UI赋值来控制UI显示逻辑。 简单赋值会更改组件的默认属性,使用大括号可以指定组件的任意属性进行赋值。 ComboBox destroyed : Boolean = f...
来源: Laya2.0_api 发布时间: 20190513