大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0026 秒)
...下例子。 ```java package { import laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class Main { public function Main() { //初始化引擎 Laya.init(500,500); var httpreq:HttpRequest = new HttpRequest(); httpreq.on(Event.COMPLETE,this,this.completeHandler); httpr...
来源: Laya2.0_文档 发布时间: 20210715
...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