大约有 4 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0016 秒)
...ler = Laya.Handler; let list = new List(); Laya.stage.addChild(list); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = tr...
来源: Laya2.0_示例 发布时间: 20241123
...dler = Laya.Handler; let easeFunctionsList = new List(); easeFunctionsList.itemRender = ListItemRender; easeFunctionsList.pos(5, 5); easeFunctionsList.repeatX = 1; easeFunctionsList.repeatY = 20; easeFunctionsList.vScrollBarSkin = ''; easeFunctionsList.selectEnable = true; easeFunctionsList.selectHa...
来源: Laya2.0_示例 发布时间: 20241123
...a); let tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } const Box = Laya.Box, Clip = Laya.Clip, Labe...
来源: Laya2.0_示例 发布时间: 20241123
...reshList.top = 30; Laya.stage.addChild(this.refreshList); this.refreshList.itemRender = ItemBox; this.refreshList.vScrollBarSkin = ""; // 创建数据 var data = this.createData(9, "初始数据"); this.refreshList.array = data; // 添加事件监听 this.refreshList.on(Event.MOUSE_UP, this, this.st...
来源: Laya2.0_示例 发布时间: 20241123