大约有 129 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0114 秒)
Laya_社区(89) Laya_示例(8) Laya2.0_示例(8) Laya2.0_文档(7) Laya3.0_文档(5) laya_api(4) Laya3.0_api(4) Laya2.0_api(4)
... Laya.init(100,100); var file:any = Laya.Browser.document.createElement("input"); file.type = "file"; file.style.position = "absolute"; file.style.zIndex = 999; Laya.Browser.document.body.appendChild(file);//添加到舞台 var fileReader:any = new Laya.Browser.window.FileReader(); file.onchange = f...
来源: Laya3.0_文档 发布时间: 20251010
...序列帧动画(atlas文件)的url。 文本处理:GTextField、GTextInput GTextField用于显示静态文本,是对引擎Text类的封装,支持显示普通文字、富文本、图文混排等。 GTextInput用于接收用户输入的文本,是对引擎Input类的封装。 布局容器: ...
来源: Laya3.0_文档 发布时间: 20251010
... Laya.init(100,100); var file:any = Laya.Browser.document.createElement("input"); file.type = "file"; file.style.position = "absolute"; file.style.zIndex = 999; Laya.Browser.document.body.appendChild(file);//添加到舞台 var fileReader:any = new Laya.Browser.window.FileReader(); file.onchange = f...
来源: Laya2.0_文档 发布时间: 20210715
....readUTFBytes()); } // 清理缓存的服务端发来的数据 this.socket.input.clear(); } // 出现异常后的事件回调 private onConnectError(e: Event = null): void { console.log("error"); } 3.2 Laya.Byte 二进制读写 在开发项目中,二进制的操作是不可或缺的。在html5时...
来源: Laya3.0_文档 发布时间: 20250104
...擎 Laya.init(100, 100); var file = Laya.Browser.document.createElement("input"); file.type = "file"; file.style.position = "absolute"; file.style.zIndex = 999; Laya.Browser.document.body.appendChild(file);//添加到舞台 var fileReader = new Laya.Browser.window.FileReader(); file.onchange = funct...
来源: Laya2.0_文档 发布时间: 20210714
...wait gui.UIPackage.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改变了!"); }) } } 四、程序化生成界面 4.1 常用方法 除了使用UI编辑器制作界面...
来源: Laya3.0_文档 发布时间: 20251010
...2017-02-23 0 6 分享 微博 QZONE 微信 cry_11858 赞同来自: 不支持input标签吗。 2017-10-23 0 1 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 同一个文本中字体大小不同,颜色不同 var htmlD:HTMLDivElement = new HTMLDivElement(); Laya.stage.addChild(htmlD); ...
来源: Laya_社区 发布时间: 20161027
...essage is ArrayBuffer) { trace(new Byte(message).readUTFBytes()); } socket.input.clear(); } private function OnCallBack():void { MsgManger.SendMsg("LoginOut"); } private function onConnectError(e:Event=null):void { trace("error"); } } } 写了个测试例子,可以收到服务器的推送的数...
来源: Laya_社区 发布时间: 20170724
...11 11:17:11.009 8591-8658/com.mygame.laya I/LayaBox﹕ addevtlistener:input 04-11 11:17:11.009 8591-8658/com.mygame.laya I/LayaBox﹕ >>>>>>>>>>>>>>>>>>>>>addInput 04-11 11:17:11.009 8591-8658/com.mygame.laya I/LayaBox﹕ ...
来源: Laya_社区 发布时间: 20170411