大约有 9 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0039 秒)
...,400); Laya.stage.bgColor = "#ffcccc"; var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url:string = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcod...
来源: Laya2.0_文档 发布时间: 20210715
...(600,400); Laya.stage.bgColor = "#ffcccc"; var div = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); this.qrcodeSp = new La...
来源: Laya2.0_文档 发布时间: 20210714
...{ //初始化引擎 Laya.init(600, 400); var div:Object = Browser.document.createElement("div"); qrcode= new Browser.window.QRCode(div,{ width : 100, height : 100 }); var url:String ="http://layabox.com/"; qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); qrcodeSp = new Sprite(); Lay...
来源: Laya2.0_文档 发布时间: 20210715
... public function LayaSample() { Laya.init(100,100); var script:* = Browser.createElement("script"); Browser.document.body.appendChild(script); script.src = "http://localhost:9090/?a=1"; } public static function onComplete():void{ trace("JSONP执行到这里"); } } } ``` ```java var script:* = Browse...
来源: Laya2.0_文档 发布时间: 20210714
...Sample { constructor() { Laya.init(100,100); var script:any = Laya.Browser.createElement("script"); Laya.Browser.document.body.appendChild(script); script.src = "http://localhost:9090/?a=1"; } public static onComplete():void{ console.log("JSONP执行到这里"); } } new LayaSample(); ``` ```java var...
来源: Laya2.0_文档 发布时间: 20210715
...on(){ function LayaSample(){ Laya.init(100,100); var script = Laya.Browser.createElement("script"); Laya.Browser.document.body.appendChild(script); script.src = "http://localhost:9090/?a=1"; } LayaSample.onComplete = function(){ console.log("JSONP执行到这里"); } return LayaSample; })(); new Lay...
来源: Laya2.0_文档 发布时间: 20210715
...lob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个方法是...
来源: Laya2.0_文档 发布时间: 20210715
...lob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个方法...
来源: Laya2.0_文档 发布时间: 20210714
...lob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个方法是...
来源: Laya2.0_文档 发布时间: 20210714