大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0016 秒)
...个属性,比如: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
...; } 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_示例 发布时间: 20241118
...); easeFunctionsList.array = data; } renderList(item) { item.setLabel(item.dataSource); } onEaseFunctionChange(list) { const Tween = Laya.Tween, Ease = Laya.Ease; character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x: 350, y: 250 }, duration, Ease[list.selectedItem]); } cre...
来源: Laya2.0_示例 发布时间: 20241118
...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_示例 发布时间: 20241118