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

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

1. UI-ScrollBar [ 100%]

...ndler = new Handler(this, this.onChange); } onChange(value) { console.log("滚动的位置: value=" + value); } } new UI_ScrollBar();module laya { import Stage = Laya.Stage; import HScrollBar = Laya.HScrollBar; import VScrollBar = Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = L...

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

2. UI-RefreshList [ 96%]

...hList = null; /** 消息生成的当前最大id值 */ this.msgIdNow=1; /** 滚动效果是否停止 */ this.scrollBarIsStop=false; /** 移动前的上次坐标位置 */ this.moveLastPos = null; /** 列表单元是否已打开 */ this.itemIsOpen=false; /**展开的单元格索引ID */ this.itemOpe...

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

3. UI-List [ 89%]

...; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, this.onSelect); list.renderHandler = new Handler(this, this.updateItem); // 设置数据项为对应图片的路径 let data...

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