大约有 1,081 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
... new Handler(this, this.onChange); } public changeValue():void{ console.log("change"); if (this.loadingBar.value >= 1){ this.loadingBar.value = 0; } this.loadingBar.value += 0.05; } onChange(value: nu...
来源: Laya_社区 发布时间: 20180524
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 ...
来源: Laya_社区 发布时间: 20190521
...his.txt = this.getTextFeild(); this.txt.y = 50; this.txt.text = 'aasassa'; console.log(this.addChild);//undefined console.log(this._super);//undefined this.addChild(this.txt); } Laya.class(UIDropBox, "UIDropBox", Sprite); UIDropBox.prototype = { getTextFeild: function () { var text = new Text(); tex...
来源: Laya_社区 发布时间: 20161226
....removeItem('laya');Storage.support = true;} catch(e){}if(!Storage.support)console.log('LocalStorage is not supprot or browser is private mode.')"); } 改成 public static function init():void { __JS__("try{Storage.items=window.localStorage;Storage.setItem('laya', '1');Storage.removeItem('laya');...
来源: Laya_社区 发布时间: 20180703
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 问题状态 最新活动: 2017-09-19 18:29 浏览: 918 关注: 2 人
来源: Laya_社区 发布时间: 20170912
....login({ success: function () { wx.getUserInfo({ success: function (res) { console.log('success', res) }, fail: function (res) { console.log("reject",res) } }) } }); 这段代码里的wx对象,报错如下 "wx is not defined" 2018-07-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180728
...rollBarIsStopBind(){ return this.scrollBarIsStop; } onListMouse(e, index){ console.log(e.target.name); if (e.type == Event.MOUSE_DOWN) { this.mouseDown = true; //如果单元格已经展开,则先恢复 if (this.itemIsOpen) { this.itemIsOpen = false; this.itemOpenId = -1; Tween.to(this.openedItem,...
来源: Laya2.0_示例 发布时间: 20260303
...); timeLine.on(Event.LABEL, this, this.onLabel); } function onComplete() { console.log("timeLine complete!!!!"); } function onLabel(label) { console.log("LabelName:" + label); }少年 没仔细看官方的案例吧 这个Label时间就是每一小节动画都会 触发 同时会告诉你当前是那...
来源: Laya_社区 发布时间: 20180718
...游戏 this.StartLeft.on(Laya.Event.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); }); //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); }); //天猫Logo this.img_TianMao.on(Laya.Event.CLICK,null,f...
来源: Laya_社区 发布时间: 20180810
...dComponentScripts)2.2 删除 debugger 语句(dropDebugger)2.3 删除 console 语句(dropConsole)2.4 压缩(minify)脚本编译 Author: Charley 脚本编译配置用于控制 TypeScript 编译行为 以及 发布版本的代码处理方式。 整体分为两部分: 脚本编译选项...
来源: Laya3.0_文档 发布时间: 20260128