大约有 678 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(341) Laya3.0_api(164) Laya2.0_api(58) laya_api(54) Laya2.0_文档(29) Laya3.0_文档(19) Laya2.0_示例(7) Laya_示例(6)
...on FormDemo() { // 初始化舞台 Laya.init(400,400); // 图标数据 var data:Object = { labels: [ //最上方矩形的标签提示和颜色设置 "Red", "Blue", "Yellow" ], datasets: [ { data: [300, 50, 100],//所占整个扇形的比率,以及分割份数 backgroundColor: [ //默认的饼图...
来源: Laya_社区 发布时间: 20170109
dialog里面的内容怎么不能添加到舞台 var fooddata = []; for (var X = 0; X < res.data.length; X++) { var foodid = res.data[X]['n_food_id']; var foodtxt = res.data[X]['n_number']; fooddata[X] = { food: { skin: 'comp/food' + foodid + '.png' }, food_txt: {text: foodtxt} // console.log();...
来源: Laya_社区 发布时间: 20181220
...R: string = "io-error"; /** 数据*/ public static DATA: string = "data"; constructor(decorate?:Decorate) { super(); this.mDecorate = decorate || new Decorate(this); this.pomelo = new Pomelo(); ...
来源: Laya_社区 发布时间: 20161109
...tion (ws) { console.log('客户端连接成功!'); ws.on('foo', function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/...
来源: Laya_社区 发布时间: 20181107
....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
...数 xml:* ; XML 或XMLList对象 例如:原生例子:var dataXML:XML = new XML(data); var len:int = dataXML.content.length(); 兼容H5写法: var dataXML:XML = new XML(data); var len:int = xmlLength(dataXML.content); 2015-10-28 1 0 分享 微博 QZONE 微信 layabox 赞同来...
来源: Laya_社区 发布时间: 20151028
...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
...效果。下面我们看下简单的脚本怎么实现这种效果。 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
...>>>>>The network has changed D/AES: onEndOfErrorDumpThread: data_app_native_crash Time: 1533189587824 Flags: 0x3888bf46 PID: 7955 Foreground: Yes Build: OPPO/A83/A83:7.1.1/N6F26Q/1524206852:user/release-keys *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerp...
来源: Laya_社区 发布时间: 20180802
...范围,则终止该函数 if(index<0||index>arr.length)return; var data:Object=arr[index];//获取当前渲染条目的数据 var clip:Clip=cell.getChildByName("clip") as Clip;//获取当前渲染条目的clip组件 var check:CheckBox=cell.getChildByName("check") as CheckBox;//获取当前...
来源: Laya_社区 发布时间: 20170313