• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 75 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0056 秒)

71. 网络通信 · LayaAir3.0文档 · LAYABOX [ 32%]

...: class HttpRequestExtension extends Laya.HttpRequest { constructor() { super(); } public send(url:string,data:any=null,method:string="get", responseType:string="text", headers:any=null):void{ super.send(url,data,method,responseType,headers); this._http.upload.onprogress= function(e:any):void { //...

来源: Laya3.0_文档 发布时间: 20230719

72. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 30%]

...ypeError: this.preinitialize is not a function            !1,i.__super.call(this),this._layout=B.EMPTY,this.preinitialize(),this.createChildren(),this.initial            TypeError: this.preinitialize is not a function                at i (http://stand.alone.version/...

来源: Laya_社区 发布时间: 20171218

73. laya.ui.Tree_API3.0 [ 28%]

...aya.stage.addChild(tree);//将 tree 添加到显示列表。 } (function (_super) { function Item() { Item.__super.call(this);//初始化父类。 this.right = 0; this.left = 0; var selectBox = new laya.ui.Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox ...

来源: Laya3.0_api 发布时间: 20231115

74. laya.ui.List_API3.0 [ 26%]

...属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();//创建一个 Label 类的实例对象 label 。 label.text = "100000";//...

来源: Laya3.0_api 发布时间: 20231115

75. laya.ui.Dialog_API3.0 [ 25%]

... laya.utils.Handler.create(this, loadComplete));//加载资源 (function (_super) {//新建一个类Dialog_Instance继承自laya.ui.Dialog。 function Dialog_Instance() { Dialog_Instance.__super.call(this);//初始化父类 var bg = new laya.ui.Image("resource/ui/bg.png");//新建一个 Image 类的...

来源: Laya3.0_api 发布时间: 20231115