大约有 223 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
Laya_社区(152) Laya2.0_文档(16) laya_api(15) Laya2.0_api(15) Laya3.0_文档(10) Laya2.0_示例(6) Laya_示例(5) Laya3.0_api(4)
...essHandler); function onHttpRequestComplete(e){ }; function processHandler(data){ console.log(data); }; function errorHandler(data){ }; xmlHttp.send("http://","","post","text"); 2018-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20180202
... URL 与包含脚本的文本具有相同的主机名和端口。 * @param data (default = null)发送的数据。 * @param method (default = "get")用于请求的 HTTP 方法。值包括 "get"、"post"、"head"。 * @param responseType (default = "text")Web 服务器的响应类型,可设置为 "...
来源: Laya3.0_文档 发布时间: 20250104
...我们看下简单的脚本怎么实现这种效果。 ```javascript var data = '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL...
来源: Laya2.0_文档 发布时间: 20210715
...ketTest@4a7f7fe0 11-15 14:08:16.673: D/dalvikvm(1879): Trying to load lib /data/app-lib/com.hmjlbH5.xianhao-1/liblayaair.so 0x94ff75b8 11-15 14:08:17.053: A/libc(1879): Fatal signal 11 (SIGSEGV) at 0xdead0000 (code=1), thread 1879 (hmjlbH5.xianhao) 2017-11-15 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20171115
...yaNative下请求崩溃,请求官方协助! public post(url: string, data: any, callback: (this: void, data: JSON) => void): void { let hr = new Laya.HttpRequest(); hr.once(Laya.Event.COMPLETE, this, (e: any): void => { callback(JSON.parse(hr.dat...
来源: Laya_社区 发布时间: 20190829
...hr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); console.log("1111"); } function errorHandler(data){ console.log("2222"); } function completeHandler(e){ console.log("3333"); } 2018-08-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180830
...效果。下面我们看下简单的脚本怎么实现这种效果。 var data = '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + '<foreignObject width="100%" height="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' + '<em>I&l...
来源: Laya3.0_文档 发布时间: 20251010
....weixin.qq.com/cgi- ... ot%3B, "", "get", "text"); function processHandler(data) { console.log(data); } function errorHandler(data) { alert(2); } function completeHandler(e) { alert(1); } } Laya.class(JiHuo, "ui.JiHuo", _super); return JiHuo; })(ui.JiHuoUI); 2018-04-19 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180419
...xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); console.log("processHandler"); } function errorHandler(data){ console.log("errorHandler"); } function completeHandler(e){ console.log("completeHandler"); } 2018-08-27 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180827
...} //初始化预加载数据 public m_initData(url:string,atlas:boolean,atlasPath?:string){ (atlas===void 0)&& (atlas=false); this['_url']=url=Laya.URL.formatURL(url); if(atlas)this['_atla...
来源: Laya_社区 发布时间: 20180615