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

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

1. 微信小游戏分包实战(TypeScript-小游戏适配文档-微信小游戏) [ 100%]

...载与加载,在加载完成后,通过 wx.loadSubpackage 的 success 回调来通知加载完成。示例代码如下: ```javascript const loadTask = wx.loadSubpackage({ name: 'stage1', // name 可以填 name 或者 root success: function(res) { // 分包加载成功后通过 success 回调 },...

来源: Laya2.0_文档 发布时间: 20210715

2. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 98%]

...边距,以防变形 progressBar.sizeGrid = "5,5,5,5"; //数据改变时回调方法 progressBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(progressBar); //时间间隔循环,每100毫秒改变一次数据 Laya.timer.loop(100, this, changeValue); } /***时...

来源: Laya2.0_文档 发布时间: 20210715

3. 微信小游戏分包实战(JavaScript-小游戏适配文档-微信小游戏) [ 97%]

...载与加载,在加载完成后,通过 wx.loadSubpackage 的 success 回调来通知加载完成。示例代码如下: ```javascript const loadTask = wx.loadSubpackage({ name: 'stage1', // name 可以填 name 或者 root success: function(res) { // 分包加载成功后通过 success 回调 },...

来源: Laya2.0_文档 发布时间: 20210715

4. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 96%]

...200; //设置为可以选择 list.selectEnable = true; //选择单元格时回调方法 list.selectHandler = new Handler(this, onSelect); //渲染单元格时的回调方法 list.renderHandler = new Handler(this, updateItem); //为列表赋值 list.array = data; //加载到舞台 Laya.stage.addChild...

来源: Laya2.0_文档 发布时间: 20210715

5. 微信小游戏分包实战(ActionScript-小游戏适配文档-微信小游戏) [ 94%]

...载与加载,在加载完成后,通过 wx.loadSubpackage 的 success 回调来通知加载完成。示例代码如下: ```javascript const loadTask = wx.loadSubpackage({ name: 'stage1', // name 可以填 name 或者 root success: function(res) { // 分包加载成功后通过 success 回调 },...

来源: Laya2.0_文档 发布时间: 20210715

6. VScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 88%]

... = 0; //最高滚动位置数字 vScrollBar.max = 100; //滚动变化事件回调 vScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(vScrollBar); //创建提示信息 createPromptText(vScrollBar) } /***创建提示信息***/ private function createPromptTex...

来源: Laya2.0_文档 发布时间: 20210715

7. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 88%]

... = 0; //最高滚动位置数字 hScrollBar.max = 100; //滚动变化事件回调 hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(hScrollBar); //创建提示信息 createPromptText(hScrollBar) } /***创建提示信息***/ private function createPromptTex...

来源: Laya2.0_文档 发布时间: 20210714

8. HScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 86%]

... //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(this.hScrollBar); //创建提示信息 createPromptText(this.hScrollBar) } /***创建提示信息***/ function createPr...

来源: Laya2.0_文档 发布时间: 20210714

9. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 86%]

... //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya.stage.addChild(this.hScrollBar); //创建提示信息 this.createPromptText(this.hScrollBar) } /***创建提示信息***/ private...

来源: Laya2.0_文档 发布时间: 20210715

10. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 86%]

... //最高滚动位置数字 this.vScrollBar.max = 100; //滚动变化事件回调 this.vScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya.stage.addChild(this.vScrollBar); //创建提示信息 this.createPromptText(this.vScrollBar) } /***创建提示信息***/ private...

来源: Laya2.0_文档 发布时间: 20210715