大约有 2 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0020 秒)
...eo; constructor() { //初始化引擎 Laya.init(500,500); var httpreq:Laya.HttpRequest = new Laya.HttpRequest(); httpreq.on(Laya.Event.COMPLETE,this,this.completeHandler); httpreq.on(Laya.Event.ERROR,this,this.errorHandler); httpreq.send("demo1.js"); } private completeHandler(e:any):void{ var script...
来源: Laya2.0_文档 发布时间: 20210715
...```typescript //初始化引擎 Laya.init(500,500); var httpreq = new Laya.HttpRequest(); httpreq.on(Laya.Event.COMPLETE,this,completeHandler); httpreq.on(Laya.Event.ERROR,this,errorHandler); httpreq.send("demo1.js"); function completeHandler(e){ var script = Laya.Browser.document.createElement("scr...
来源: Laya2.0_文档 发布时间: 20210714