大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
...是ts还是js还是as wq • 2018-04-18 11:30 ts wq • 2018-04-18 10:59 if(window.loadingView){ nPercent+=33; window.loadingView.loading(nPercent); } 我看了呀,但是我在ide里用 window.loadingView 有红线啊 wq • 2018-04-18 11:00 使用window.loadingView 编辑器 提示 file: 'file://...
来源: Laya_社区 发布时间: 20180418
...utoClose=false config.js内容入下:var loadingView=window.loadingView; if(loadingView) { loadingView.loadingAutoClose=false;//false:自定义进度条 ture:使用laya默认进度条 loadingView.bgColor("#FFFFFF");//设置背景颜色 loadingView.setFontColor("#ffff00");//设置字体颜色 loa...
来源: Laya_社区 发布时间: 20161202
...64Str => { base64Str = base64Str.split(",")[1]; console.log(base64Str); if(Laya.Browser.window.conch) { // App 分享 let brdige = common.utils.ConchUtils.getBridge(); brdige.call("share", base64Str); } }); 2019-09-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20180914
... @param {显示头像Img} showImg */ function getWXHead(headUrl, showImg){ if(headCache[headUrl] != undefined){ showImg.skin = (headCache[headUrl]); }else{ // 创建请求 let httpRequest = new Laya.HttpRequest(); httpRequest.once(Laya.Event.COMPLETE, this, (data)=>{ let byte = new Laya.Byte(data...
来源: Laya_社区 发布时间: 20190430
...DEMO了 getPixels(x, y, width, height) { if (window.conch) { return this._nativeObj.getImageData(x, y, width, height); //this._nativeObj为空! } else { ...
来源: Laya_社区 发布时间: 20220317
...啊,你是按下拖动,input = true Anthony随遇 • 2023-08-03 10:51 if (!inst._touchInput) inst.handleMouse(ev, 0); 没有设置成false的代码走不到这了 Laya_phhh • 2023-08-03 11:02 @Anthony随遇:我这边看一哈 Anthony随遇 • 2023-08-03 11:05 麻烦了 Laya_phhh • 2023-08-...
来源: Laya_社区 发布时间: 20230803
...i= 0, len= dt.length; i < len; i += 4) { var alpha = dt[i + 3] / 255.0; if (alpha > 0) { dt /= alpha; dt[i + 1] /= alpha; dt[i + 2] /= alpha; } } //增加结束 ctx.destroy(); ....不变 如果用的压缩库,压缩库里也改一下。 2023-11-28 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20231110
.../ src/myOpenDataContext/index.js openDataContext.onMessage(data => { if (data.command === 'render') { // ... 重绘 sharedCanvas } }) 2018-06-11 1 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 ...
来源: Laya_社区 发布时间: 20180611
...为fairygui依赖laya.core.js,所以最后会调用到laya.core.js中, if (!tex.loaded){ tex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,[tex,args]); }执行到这段时,报了tex.once不是一个function的错,但是Texture继承自EventDispatcher,有once这个方法...
来源: Laya_社区 发布时间: 20180724
...log("注册功能暂未开放") }); } showDialog(context: string) { // if (this.normalDialog) { // this.normalDialog.close(); // } this.normalDialog = new NormalDialog(context); this.normalDialog.popup(true, true); Laya.stage.addChild(this.normalDialog); } } // 弹窗代码 class No...
来源: Laya_社区 发布时间: 20181216